From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754115AbcFPKCd (ORCPT ); Thu, 16 Jun 2016 06:02:33 -0400 Received: from mail-oi0-f43.google.com ([209.85.218.43]:32829 "EHLO mail-oi0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751690AbcFPKCa (ORCPT ); Thu, 16 Jun 2016 06:02:30 -0400 MIME-Version: 1.0 In-Reply-To: <20160616143200.586e649d@canb.auug.org.au> References: <20160616143200.586e649d@canb.auug.org.au> From: Linus Walleij Date: Thu, 16 Jun 2016 12:02:24 +0200 Message-ID: Subject: Re: linux-next: build warning after merge of the gpio tree To: Stephen Rothwell , Arnd Bergmann Cc: "linux-next@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 16, 2016 at 6:32 AM, Stephen Rothwell wrote: > After merging the gpio tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > In file included from drivers/gpio/gpiolib.c:25:0: > drivers/gpio/gpiolib.c: In function 'lineevent_irq_thread': > include/linux/kfifo.h:403:39: warning: 'ge.id' may be used uninitialized in this function [-Wmaybe-uninitialized] > )[__kfifo->in & __tmp->kfifo.mask] = \ > ^ > drivers/gpio/gpiolib.c:657:24: note: 'ge.id' was declared here > struct gpioevent_data ge; > ^ > > Introduced by commit > > 61f922db7221 ("gpio: userspace ABI for reading GPIO line events") > > This is in the kfifo_put() call. Thanks Stephen, Arnd has already helpfully made a patch to fix it :) Yours, Linus Walleij