[clk:clk-qcom 27/42] drivers/clk/qcom/gpucc-msm8998.c:265:45: error: 'NO_RET_PERIPH' undeclared here (not in a function)

kernel test robot lkp at intel.com
Sun Feb 14 07:52:28 EST 2021


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-qcom
head:   27aef2b9462a57798e9bc54bf471ed39cf60117a
commit: 1e40c64b4026021a11bba22253741bb40141b778 [27/42] clk: qcom: gpucc-msm8998: Add resets, cxc, fix flags on gpu_gx_gdsc
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 9.3.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/clk/linux.git/commit/?id=1e40c64b4026021a11bba22253741bb40141b778
        git remote add clk https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git
        git fetch --no-tags clk clk-qcom
        git checkout 1e40c64b4026021a11bba22253741bb40141b778
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

Note: the clk/clk-qcom HEAD 27aef2b9462a57798e9bc54bf471ed39cf60117a builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> drivers/clk/qcom/gpucc-msm8998.c:265:45: error: 'NO_RET_PERIPH' undeclared here (not in a function)
     265 |  .flags = CLAMP_IO | SW_RESET | AON_RESET | NO_RET_PERIPH,
         |                                             ^~~~~~~~~~~~~


vim +/NO_RET_PERIPH +265 drivers/clk/qcom/gpucc-msm8998.c

   252	
   253	static struct gdsc gpu_gx_gdsc = {
   254		.gdscr = 0x1094,
   255		.clamp_io_ctrl = 0x130,
   256		.resets = (unsigned int []){ GPU_GX_BCR },
   257		.reset_count = 1,
   258		.cxcs = (unsigned int []){ 0x1098 },
   259		.cxc_count = 1,
   260		.pd = {
   261			.name = "gpu_gx",
   262		},
   263		.parent = &gpu_cx_gdsc.pd,
   264		.pwrsts = PWRSTS_OFF_ON | PWRSTS_RET,
 > 265		.flags = CLAMP_IO | SW_RESET | AON_RESET | NO_RET_PERIPH,
   266	};
   267	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 72497 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210214/d641345d/attachment-0001.gz>


More information about the linux-arm-kernel mailing list