[linux-next:master 7409/10678] drivers/clk/qcom/gpucc-sm8350.c:111:2: error: initializer element is not a compile-time constant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   37b355fdaf31ee18bda9a93c2a438dc1cbf57ec9
commit: 160758b05ab1679dae83c7facf312b60dd263308 [7409/10678] clk: qcom: add support for SM8350 GPUCC
config: arm-randconfig-r023-20220714 (https://download.01.org/0day-ci/archive/20220715/202207150057.s8huMpLd-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5e61b9c556267086ef9b743a0b57df302eef831b)
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
        # install arm cross compiling tool for clang build
        # apt-get install binutils-arm-linux-gnueabi
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=160758b05ab1679dae83c7facf312b60dd263308
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 160758b05ab1679dae83c7facf312b60dd263308
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

>> drivers/clk/qcom/gpucc-sm8350.c:111:2: error: initializer element is not a compile-time constant
           gpu_cc_parent,
           ^~~~~~~~~~~~~
   drivers/clk/qcom/gpucc-sm8350.c:126:2: error: initializer element is not a compile-time constant
           gpu_cc_parent,
           ^~~~~~~~~~~~~
   2 errors generated.


vim +111 drivers/clk/qcom/gpucc-sm8350.c

   109	
   110	static const struct clk_parent_data gpu_cc_parent_data_0[] = {
 > 111		gpu_cc_parent,
   112		{ .hw = &gpu_cc_pll0.clkr.hw },
   113		{ .hw = &gpu_cc_pll1.clkr.hw },
   114		{ .fw_name = "gcc_gpu_gpll0_clk_src" },
   115		{ .fw_name = "gcc_gpu_gpll0_div_clk_src" },
   116	};
   117	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux