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

Stephen Rothwell sfr at canb.auug.org.au
Mon Dec 12 00:23:21 PST 2016


Hi Arnd,

On Mon, 12 Dec 2016 09:12:36 +0100 Arnd Bergmann <arnd at arndb.de> wrote:
>
> 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?

Gcc-5.2.0 powerpc-le hosted cross compiler.

-- 
Cheers,
Stephen Rothwell



More information about the linux-rpi-kernel mailing list