lkml.org 
[lkml]   [2016]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build warning after merge of the clk tree
Hi all,

After merging the clk tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/clk/bcm/clk-bcm2835.c: In function 'bcm2835_clock_determine_rate':
drivers/clk/bcm/clk-bcm2835.c:1069:18: warning: 'best_rate' may be used uninitialized in this function [-Wmaybe-uninitialized]
*prate = curdiv * best_rate;
^
drivers/clk/bcm/clk-bcm2835.c:1032:16: note: 'best_rate' was declared here
unsigned long best_rate;
^

Introduced by commit

155e8b3b0ee3 ("clk: bcm: Support rate change propagation on bcm2835 clocks")

--
Cheers,
Stephen Rothwell

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