Messages in this thread | | | From | Doug Anderson <> | Date | Thu, 6 Sep 2018 15:39:04 -0700 | 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@intel.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
| |