arch/x86/kernel/irq_64.c:26:1: sparse: sparse: symbol '__pcpu_scope_irq_stack_backing_store' was not declared. Should it be static?

From: kernel test robot
Date: Sun Dec 24 2023 - 13:13:46 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 861deac3b092f37b2c5e6871732f3e11486f7082
commit: e6401c13093173aad709a5c6de00cf8d692ee786 x86/irq/64: Split the IRQ stack into its own pages
date: 4 years, 8 months ago
config: x86_64-randconfig-122-20231101 (https://download.01.org/0day-ci/archive/20231225/202312250248.UgnvTAFE-lkp@xxxxxxxxx/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/20231225/202312250248.UgnvTAFE-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312250248.UgnvTAFE-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> arch/x86/kernel/irq_64.c:26:1: sparse: sparse: symbol '__pcpu_scope_irq_stack_backing_store' was not declared. Should it be static?

vim +/__pcpu_scope_irq_stack_backing_store +26 arch/x86/kernel/irq_64.c

25
> 26 DEFINE_PER_CPU_PAGE_ALIGNED(struct irq_stack, irq_stack_backing_store) __visible;
27 DECLARE_INIT_PER_CPU(irq_stack_backing_store);
28

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki