[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
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