From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Kaehlcke Subject: Re: [PATCH v2 1/2] soc: qcom: geni: Don't ignore clk_round_rate() errors in geni_se_clk_tbl_get() Date: Thu, 6 Sep 2018 15:40:32 -0700 Message-ID: <20180906224032.GF22824@google.com> References: <20180906163241.166165-1-dianders@chromium.org> <201809070658.q1aRNwTN%fengguang.wu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Doug Anderson Cc: kbuild test robot , kbuild-all@01.org, Andy Gross , Bjorn Andersson , Girish Mahadevan , Dilip Kota , Evan Green , Stephen Boyd , linux-arm-msm , "open list:ARM/QUALCOMM SUPPORT" , David Brown , LKML List-Id: linux-arm-msm@vger.kernel.org On Thu, Sep 06, 2018 at 03:39:04PM -0700, Doug Anderson wrote: > Hi > > On Thu, Sep 6, 2018 at 3:35 PM, kbuild test robot wrote: > > Hi Douglas, > > > > Thank you for the patch! Perhaps something to improve: > > > > [auto build test WARNING on agross/for-next] > > [also build test WARNING on v4.19-rc2 next-20180906] > > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > > > url: https://github.com/0day-ci/linux/commits/Douglas-Anderson/soc-qcom-geni-Don-t-ignore-clk_round_rate-errors-in-geni_se_clk_tbl_get/20180907-045155 > > base: https://git.kernel.org/pub/scm/linux/kernel/git/agross/linux.git for-next > > config: i386-allmodconfig (attached as .config) > > compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 > > reproduce: > > # save the attached .config to linux build tree > > make ARCH=i386 > > > > Note: it may well be a FALSE warning. FWIW you are at least aware of it now. > > http://gcc.gnu.org/wiki/Better_Uninitialized_Warnings > > > > All warnings (new ones prefixed by >>): > > > > drivers/soc/qcom/qcom-geni-se.c: In function 'geni_se_clk_tbl_get': > >>> drivers/soc/qcom/qcom-geni-se.c:531:39: warning: 'freq' may be used uninitialized in this function [-Wmaybe-uninitialized] > > freq = clk_round_rate(se->clk, freq + 1); > > ~~~~~^~~ > > Oh crud. Yeah. ...so v1 was right after all. :( Sorry about the misguided suggestion :/