[PATCH] clk: bcm: Fix 'maybe-uninitialized' warning in bcm2835_clock_choose_div_and_prate()
From: arnd@arndb.de (Arnd Bergmann)
Date: 2016-12-12 08:12:36
Also in:
linux-clk
From: arnd@arndb.de (Arnd Bergmann)
Date: 2016-12-12 08:12:36
Also in:
linux-clk
On Monday, December 12, 2016 9:00:53 AM CET Boris Brezillon wrote:
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? Arnd