linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the pinctrl tree
@ 2016-11-15 23:11 Stephen Rothwell
  0 siblings, 0 replies; only message in thread
From: Stephen Rothwell @ 2016-11-15 23:11 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-next, linux-kernel, Maxime Ripard

Hi Linus,

After merging the pinctrl tree, today's linux-next build
(arm_multi_v7_defconfig) produced these warnings:

drivers/pinctrl/sunxi/pinctrl-sunxi.c: In function 'sunxi_pinctrl_init':
drivers/pinctrl/sunxi/pinctrl-sunxi.c:1191:8: warning: 'best_div' may be used uninitialized in this function [-Wmaybe-uninitialized]
    div = hosc_div;
        ^
drivers/pinctrl/sunxi/pinctrl-sunxi.c:1128:31: note: 'best_div' was declared here
  unsigned int best_diff = ~0, best_div;
                               ^
drivers/pinctrl/sunxi/pinctrl-sunxi.c:1194:8: warning: 'best_div' may be used uninitialized in this function [-Wmaybe-uninitialized]
    div = losc_div;
        ^
drivers/pinctrl/sunxi/pinctrl-sunxi.c:1128:31: note: 'best_div' was declared here
  unsigned int best_diff = ~0, best_div;
                               ^

Introduced by commit

  7c926492d38a ("pinctrl: sunxi: Add support for interrupt debouncing")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-11-15 23:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-15 23:11 linux-next: build warnings after merge of the pinctrl tree Stephen Rothwell

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).