[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD=FV=W=qcLijE3bUm7SO+cwWzno8SeiYM9zQz+vkipbpafNmg@mail.gmail.com>
Date: Thu, 6 Sep 2018 15:39:04 -0700
From: Doug Anderson <dianders@...omium.org>
To: kbuild test robot <lkp@...el.com>
Cc: kbuild-all@...org, Andy Gross <andy.gross@...aro.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Matthias Kaehlcke <mka@...omium.org>,
Girish Mahadevan <girishm@...eaurora.org>,
Dilip Kota <dkota@...eaurora.org>,
Evan Green <evgreen@...omium.org>,
Stephen Boyd <swboyd@...omium.org>,
linux-arm-msm <linux-arm-msm@...r.kernel.org>,
"open list:ARM/QUALCOMM SUPPORT" <linux-soc@...r.kernel.org>,
David Brown <david.brown@...aro.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 1/2] soc: qcom: geni: Don't ignore clk_round_rate()
errors in geni_se_clk_tbl_get()
Hi
On Thu, Sep 6, 2018 at 3:35 PM, kbuild test robot <lkp@...el.com> 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. :(
-Doug
Powered by blists - more mailing lists