[PATCH] clk: bcm: Fix 'maybe-uninitialized' warning in bcm2835_clock_choose_div_and_prate()
Arnd Bergmann
arnd at arndb.de
Mon Dec 12 00:13:25 PST 2016
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 <boris.brezillon at free-electrons.com>
> Fixes: 155e8b3b0ee3 ("clk: bcm: Support rate change propagation on bcm2835 clocks")
> Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
I wonder why I didn't get that. Which compiler version did you use?
Arnd
More information about the linux-rpi-kernel
mailing list