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,
	Nehal Shah <Nehal-bakulchandra.Shah@amd.com>
Subject: linux-next: build warning after merge of the pinctrl tree
Date: Tue, 3 Jan 2017 15:37:01 +1100	[thread overview]
Message-ID: <20170103153701.79e58cab@canb.auug.org.au> (raw)

Hi Linus,

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

drivers/pinctrl/pinctrl-amd.c: In function 'amd_gpio_dbg_show':
drivers/pinctrl/pinctrl-amd.c:210:3: warning: 'pin_num' may be used uninitialized in this function [-Wmaybe-uninitialized]
   for (; i < pin_num; i++) {
   ^
drivers/pinctrl/pinctrl-amd.c:172:21: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
  unsigned int bank, i, pin_num;
                     ^

Introduced by commit

  3bfd44306c65 ("pinctrl: amd: Add support for additional GPIO")

-- 
Cheers,
Stephen Rothwell

             reply	other threads:[~2017-01-03  4:37 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-03  4:37 Stephen Rothwell [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-04-21  7:11 linux-next: build warning after merge of the pinctrl tree Stephen Rothwell
2022-04-21 14:12 ` Linus Walleij
2022-04-21 18:05   ` Stefan Wahren
2021-10-27 11:01 Stephen Rothwell
2021-10-27 11:10 ` Marc Zyngier
2021-10-28  7:03   ` Mauro Carvalho Chehab
2022-01-20  3:25     ` Stephen Rothwell
2022-03-18  7:31       ` Stephen Rothwell
2022-06-05 23:33         ` Stephen Rothwell
2021-03-30  6:07 Stephen Rothwell
2021-03-30  7:51 ` Linus Walleij
2020-04-17  2:27 Stephen Rothwell
2020-04-17 10:23 ` Linus Walleij
2018-10-11  3:17 Stephen Rothwell
2018-10-11  7:51 ` Linus Walleij
2017-06-30  4:56 Stephen Rothwell
2017-06-30  4:57 ` Stephen Rothwell
2017-06-30  6:59 ` Geert Uytterhoeven
2017-06-30 13:48   ` Linus Walleij
2015-05-20  6:40 Stephen Rothwell
2015-05-20  7:14 ` Linus Walleij
2014-05-19  6:59 Stephen Rothwell
2014-05-19  9:03 ` Maxime Ripard
2013-12-13  4:06 Stephen Rothwell

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=20170103153701.79e58cab@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=Nehal-bakulchandra.Shah@amd.com \
    --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).