From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 12 Dec 2016 09:31:30 +0100 From: Boris Brezillon To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, Mike Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Stephen Rothwell , Florian Fainelli , Scott Branden , Stephen Warren , Ray Jui , Lee Jones , Eric Anholt , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org Subject: Re: [PATCH] clk: bcm: Fix 'maybe-uninitialized' warning in bcm2835_clock_choose_div_and_prate() Message-ID: <20161212093130.6e348a61@bbrezillon> In-Reply-To: <3107859.uaKLk6DMRd@wuerfel> References: <1481529653-28133-1-git-send-email-boris.brezillon@free-electrons.com> <3107859.uaKLk6DMRd@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII List-ID: On Mon, 12 Dec 2016 09:12:36 +0100 Arnd Bergmann 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 > > Fixes: 155e8b3b0ee3 ("clk: bcm: Support rate change propagation on bcm2835 clocks") > > Reported-by: Stephen Rothwell > > I wonder why I didn't get that. Which compiler version did you use? > In case you're interested, my gcc [1] failed to detect it as well, and this is not the first time it happens :-/. [1]gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609