From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753688AbcKPA4T (ORCPT ); Tue, 15 Nov 2016 19:56:19 -0500 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:46625 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750979AbcKPA4R (ORCPT ); Tue, 15 Nov 2016 19:56:17 -0500 Date: Tue, 15 Nov 2016 16:56:05 -0800 From: Martin KaFai Lau To: Stephen Rothwell CC: David Miller , Networking , , Subject: Re: linux-next: build warning after merge of the net-next tree Message-ID: <20161116005605.GA16285@kafai-mba.local> References: <20161116113647.04900939@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20161116113647.04900939@canb.auug.org.au> User-Agent: Mutt/1.5.23.1 (2014-03-12) X-Originating-IP: [192.168.52.123] X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2016-11-15_08:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 16, 2016 at 11:36:47AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the net-next tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > kernel/bpf/bpf_lru_list.c: In function '__bpf_lru_list_rotate_inactive.isra.3': > kernel/bpf/bpf_lru_list.c:201:28: warning: 'next' may be used uninitialized in this function [-Wmaybe-uninitialized] > l->next_inactive_rotation = next; > ^ > > Introduced by commit > > 3a08c2fd7634 ("bpf: LRU List") > > I can't tell if this is a false positive or not. A false positive. A patch has been posted: https://patchwork.ozlabs.org/patch/695202/ Thanks for the report. --Martin