lkml.org 
[lkml]   [2016]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build warnings after merge of the pinctrl tree
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

\
 
 \ /
  Last update: 2016-11-16 00:12    [W:0.019 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site