[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZeMhXCcawJiar389@yujie-X299>
Date: Sat, 2 Mar 2024 20:53:48 +0800
From: Yujie Liu <yujie.liu@...el.com>
To: kernel test robot <lkp@...el.com>
CC: Thomas Gleixner <tglx@...utronix.de>, <oe-kbuild-all@...ts.linux.dev>,
<linux-kernel@...r.kernel.org>, Arjan van de Ven <arjan@...ux.intel.com>
Subject: Re: arch/x86/include/asm/processor.h:698:16: sparse: sparse:
incorrect type in initializer (different address spaces)
On Sat, Mar 02, 2024 at 04:12:16AM +0800, kernel test robot wrote:
> 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/torvalds/linux.git master
> head: 87adedeba51a822533649b143232418b9e26d08b
> commit: 6e29032340b60f7aa7475c8234b17273e4424007 x86/cpu: Move cpu_l[l2]c_id into topology info
> date: 5 months ago
> config: i386-randconfig-062-20240301 (https://download.01.org/0day-ci/archive/20240302/202403020457.RCJoQ3ts-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/20240302/202403020457.RCJoQ3ts-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@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202403020457.RCJoQ3ts-lkp@intel.com/
>
> sparse warnings: (new ones prefixed by >>)
Sorry for the empty warning here. The actual sparse warning is:
arch/x86/include/asm/processor.h:698:16: sparse: sparse: incorrect type in initializer (different address spaces)
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
>
Powered by blists - more mailing lists