Messages in this thread | | | Date | Tue, 17 Oct 2023 00:59:49 +0800 | From | kernel test robot <> | Subject | [tip:x86/core 13/22] arch/x86/include/asm/processor.h:698:16: sparse: sparse: incorrect type in initializer (different address spaces) |
| |
Hi Thomas,
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/tip/tip.git x86/core head: 92fe9bb77b0c9fade150350fdb0629a662f0923f commit: 6e29032340b60f7aa7475c8234b17273e4424007 [13/22] x86/cpu: Move cpu_l[l2]c_id into topology info config: x86_64-randconfig-122-20231016 (https://download.01.org/0day-ci/archive/20231017/202310170010.yzc9t6Bd-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231017/202310170010.yzc9t6Bd-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@intel.com> | Closes: https://lore.kernel.org/oe-kbuild-all/202310170010.yzc9t6Bd-lkp@intel.com/
sparse warnings: (new ones prefixed by >>) arch/x86/events/amd/uncore.c: note: in included file (through arch/x86/include/asm/cpufeature.h, arch/x86/include/asm/thread_info.h, include/linux/thread_info.h, ...): >> arch/x86/include/asm/processor.h:698:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void const [noderef] __percpu *__vpp_verify @@ got unsigned int * @@ arch/x86/include/asm/processor.h:698:16: sparse: expected void const [noderef] __percpu *__vpp_verify arch/x86/include/asm/processor.h:698:16: sparse: got unsigned int *
vim +698 arch/x86/include/asm/processor.h
695 696 static inline u16 per_cpu_llc_id(unsigned int cpu) 697 { > 698 return per_cpu(cpu_info.topo.llc_id, cpu); 699 } 700
-- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
| |