Thread (8 messages) 8 messages, 5 authors, 2016-12-12

[PATCH] clk: bcm: Fix 'maybe-uninitialized' warning in bcm2835_clock_choose_div_and_prate()

From: Stephen Rothwell <hidden>
Date: 2016-12-12 08:22:56
Also in: linux-clk

Hi Arnd,

On Mon, 12 Dec 2016 09:12:36 +0100 Arnd Bergmann [off-list ref] wrote:
On Monday, December 12, 2016 9:00:53 AM CET Boris Brezillon wrote:
quoted
best_rate is reported as potentially uninitialized by gcc.

Signed-off-by: Boris Brezillon <redacted>
Fixes: 155e8b3b0ee3 ("clk: bcm: Support rate change propagation on bcm2835 clocks")
Reported-by: Stephen Rothwell <redacted>  
I wonder why I didn't get that. Which compiler version did you use?
Gcc-5.2.0 powerpc-le hosted cross compiler.

-- 
Cheers,
Stephen Rothwell
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help