[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220829204840.iwhysofe7n4ddnlw@notapiano>
Date: Mon, 29 Aug 2022 16:48:40 -0400
From: NĂcolas F. R. A. Prado
<nfraprado@...labora.com>
To: kernel test robot <lkp@...el.com>
Cc: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org,
Matthias Brugger <matthias.bgg@...il.com>
Subject: Re: [matthias-bgg:v6.0-next/soc 11/11]
drivers/soc/mediatek/mtk-svs.c:887:47: error: implicit declaration of
function 'FIELD_GET'; did you mean 'FOLL_GET'?
On Sat, Aug 27, 2022 at 02:51:47AM +0800, kernel test robot wrote:
> Hi AngeloGioacchino,
>
> FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git v6.0-next/soc
> head: a92438c5a30a27b6791da025306a45478a6ac7a4
> commit: a92438c5a30a27b6791da025306a45478a6ac7a4 [11/11] soc: mediatek: mtk-svs: Use bitfield access macros where possible
> config: arm-buildonly-randconfig-r006-20220823 (https://download.01.org/0day-ci/archive/20220827/202208270239.HjU7TSCX-lkp@intel.com/config)
> compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git/commit/?id=a92438c5a30a27b6791da025306a45478a6ac7a4
> git remote add matthias-bgg https://git.kernel.org/pub/scm/linux/kernel/git/matthias.bgg/linux.git
> git fetch --no-tags matthias-bgg v6.0-next/soc
> git checkout a92438c5a30a27b6791da025306a45478a6ac7a4
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash drivers/soc/mediatek/
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
> drivers/soc/mediatek/mtk-svs.c: In function 'svs_get_bank_volts_v3':
> >> drivers/soc/mediatek/mtk-svs.c:887:47: error: implicit declaration of function 'FIELD_GET'; did you mean 'FOLL_GET'? [-Werror=implicit-function-declaration]
> 887 | svsb->volt[turn_pt] = FIELD_GET(SVSB_VOPS_FLD_VOP0_4, vop30);
> | ^~~~~~~~~
> | FOLL_GET
> drivers/soc/mediatek/mtk-svs.c: In function 'svs_set_bank_freq_pct_v2':
> >> drivers/soc/mediatek/mtk-svs.c:1073:25: error: implicit declaration of function 'FIELD_PREP' [-Werror=implicit-function-declaration]
> 1073 | freqpct74_val = FIELD_PREP(SVSB_FREQPCTS_FLD_PCT0_4, svsb->freq_pct[8]) |
> | ^~~~~~~~~~
> cc1: some warnings being treated as errors
Hi,
thanks for the report. Fix sent [1].
Thanks,
NĂcolas
[1] https://lore.kernel.org/all/20220829204439.3748648-1-nfraprado@collabora.com
Powered by blists - more mailing lists