Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1523120 > unrolled thread

linux-next: build warnings after merge of the pinctrl tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2016-11-16 00:20 +0100
Last post2016-11-16 00:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  linux-next: build warnings after merge of the pinctrl tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-11-16 00:20 +0100

#1523120 — linux-next: build warnings after merge of the pinctrl tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2016-11-16 00:20 +0100
Subjectlinux-next: build warnings after merge of the pinctrl tree
Message-ID<sDVbb-2Za-1@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web