linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: linux-next: build warning after merge of the gpio tree
Date: Mon, 14 Nov 2016 16:31:14 +1100	[thread overview]
Message-ID: <20161114163114.76998008@canb.auug.org.au> (raw)

Hi Linus,

After merging the gpio tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/gpio/gpiolib-acpi.c: In function 'acpi_gpiochip_add':
drivers/gpio/gpiolib-acpi.c:925:9: warning: 'lflags' may be used uninitialized in this function [-Wmaybe-uninitialized]
   ret = gpiod_hog(desc, name, lflags, dflags);
         ^
drivers/gpio/gpiolib-acpi.c:912:16: note: 'lflags' was declared here
   unsigned int lflags, dflags;
                ^
drivers/gpio/gpiolib-acpi.c:925:7: warning: 'dflags' may be used uninitialized in this function [-Wmaybe-uninitialized]
   ret = gpiod_hog(desc, name, lflags, dflags);
       ^
drivers/gpio/gpiolib-acpi.c:912:24: note: 'dflags' was declared here
   unsigned int lflags, dflags;
                        ^

These presumably have appeared since -Wmaybe-uninitialized has been
reenabled in Linus Torvald's tree.

-- 
Cheers,
Stephen Rothwell

             reply	other threads:[~2016-11-14  5:31 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-14  5:31 Stephen Rothwell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-10-02  8:36 linux-next: build warning after merge of the gpio tree Stephen Rothwell
2020-01-09  4:16 Stephen Rothwell
2019-11-05  6:43 Stephen Rothwell
2019-11-07  8:35 ` Linus Walleij
2019-06-27  8:19 Stephen Rothwell
2019-06-27 14:57 ` Linus Walleij
2019-02-25  4:52 Stephen Rothwell
2018-12-18  5:41 Stephen Rothwell
2018-11-06  1:15 Stephen Rothwell
2018-11-06  7:24 ` Uwe Kleine-König
2018-01-11  4:06 Stephen Rothwell
2018-01-11  9:19 ` Linus Walleij
2017-05-30  3:52 Stephen Rothwell
2016-09-13  3:18 Stephen Rothwell
2016-06-16  4:32 Stephen Rothwell
2016-06-16 10:02 ` Linus Walleij
2014-03-07  3:59 Stephen Rothwell
2014-03-07  6:16 ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161114163114.76998008@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).