tree: https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git cpufreq/arm/linux-next head: 028068a13c533046fd4e37f06fb6efe50c759892 commit: 942914c2f2438d137bcb9b9cb8343de62dc482df [15/17] cpufreq: qcom-cpufreq-hw: Add dcvs interrupt support config: riscv-randconfig-s032-20210824 (attached as .config) compiler: riscv64-linux-gcc (GCC) 11.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.3-348-gf0e6938b-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git/commit/?id=942914c2f2438d137bcb9b9cb8343de62dc482df git remote add vireshk-pm https://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm.git git fetch --no-tags vireshk-pm cpufreq/arm/linux-next git checkout 942914c2f2438d137bcb9b9cb8343de62dc482df # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=riscv If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> drivers/base/arch_topology.c:156:9: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got unsigned long * @@ drivers/base/arch_topology.c:156:9: sparse: expected void const [noderef] __percpu *__vpp_verify drivers/base/arch_topology.c:156:9: sparse: got unsigned long * vim +156 drivers/base/arch_topology.c 2ef7a2953c81ee Juri Lelli 2017-05-31 153 4ca4f26a9c6610 Juri Lelli 2017-05-31 154 void topology_set_cpu_scale(unsigned int cpu, unsigned long capacity) 2ef7a2953c81ee Juri Lelli 2017-05-31 155 { 2ef7a2953c81ee Juri Lelli 2017-05-31 @156 per_cpu(cpu_scale, cpu) = capacity; 2ef7a2953c81ee Juri Lelli 2017-05-31 157 } 2ef7a2953c81ee Juri Lelli 2017-05-31 158 :::::: The code at line 156 was first introduced by commit :::::: 2ef7a2953c81ee6b341e3ffb33570adc894cf4a5 arm, arm64: factorize common cpu capacity default code :::::: TO: Juri Lelli :::::: CC: Greg Kroah-Hartman --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org