All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 7409/10678] drivers/clk/qcom/gpucc-sm8350.c:111:2: error: initializer element is not a compile-time constant
@ 2022-07-14 16:52 kernel test robot
  2022-07-14 16:54   ` Nathan Chancellor
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2022-07-14 16:52 UTC (permalink / raw)
  To: Robert Foss
  Cc: llvm, kbuild-all, Linux Memory Management List, Bjorn Andersson,
	Jonathan Marek, Vinod Koul

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@intel.com/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@intel.com>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-next:master 7409/10678] drivers/clk/qcom/gpucc-sm8350.c:111:2: error: initializer element is not a compile-time constant
  2022-07-14 16:52 [linux-next:master 7409/10678] drivers/clk/qcom/gpucc-sm8350.c:111:2: error: initializer element is not a compile-time constant kernel test robot
@ 2022-07-14 16:54   ` Nathan Chancellor
  0 siblings, 0 replies; 3+ messages in thread
From: Nathan Chancellor @ 2022-07-14 16:54 UTC (permalink / raw)
  To: kernel test robot
  Cc: Robert Foss, llvm, kbuild-all, Linux Memory Management List,
	Bjorn Andersson, Jonathan Marek, Vinod Koul

On Fri, Jul 15, 2022 at 12:52:49AM +0800, kernel test robot wrote:
> 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@intel.com/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@intel.com>
> 
> 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.

https://lore.kernel.org/20220711174004.3047516-1-nathan@kernel.org/

Cheers,
Nathan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-next:master 7409/10678] drivers/clk/qcom/gpucc-sm8350.c:111:2: error: initializer element is not a compile-time constant
@ 2022-07-14 16:54   ` Nathan Chancellor
  0 siblings, 0 replies; 3+ messages in thread
From: Nathan Chancellor @ 2022-07-14 16:54 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2022 bytes --]

On Fri, Jul 15, 2022 at 12:52:49AM +0800, kernel test robot wrote:
> 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(a)intel.com/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@intel.com>
> 
> 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.

https://lore.kernel.org/20220711174004.3047516-1-nathan(a)kernel.org/

Cheers,
Nathan

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-14 16:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14 16:52 [linux-next:master 7409/10678] drivers/clk/qcom/gpucc-sm8350.c:111:2: error: initializer element is not a compile-time constant kernel test robot
2022-07-14 16:54 ` Nathan Chancellor
2022-07-14 16:54   ` Nathan Chancellor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.