[lkml]   [2022]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectarch/arm/kernel/irq.c:51:12: sparse: sparse: symbol '__pcpu_scope_irq_stack_ptr' was not declared. Should it be static?
tree: master
head: 672c0c5173427e6b3e2a9bbb7be51ceeec78093a
commit: 9c46929e7989efacc1dd0a1dd662a839897ea2b6 ARM: implement THREAD_INFO_IN_TASK for uniprocessor systems
date: 5 months ago
config: arm-randconfig-s031-20220502 (
compiler: arm-linux-gnueabi-gcc (GCC) 11.3.0
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.4-dirty
git remote add linus
git fetch --no-tags linus master
git checkout 9c46929e7989efacc1dd0a1dd662a839897ea2b6
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=arm SHELL=/bin/bash arch/arm/kernel/ drivers/scsi/lpfc/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <>

sparse warnings: (new ones prefixed by >>)
>> arch/arm/kernel/irq.c:51:12: sparse: sparse: symbol '__pcpu_scope_irq_stack_ptr' was not declared. Should it be static?

vim +/__pcpu_scope_irq_stack_ptr +51 arch/arm/kernel/irq.c

9974f857768e4e Ard Biesheuvel 2021-10-05 46
4a2581a080098c Thomas Gleixner 2006-07-01 @47 unsigned long irq_err_count;
^1da177e4c3f41 Linus Torvalds 2005-04-16 48
d4664b6c987f80 Ard Biesheuvel 2021-10-05 49 #ifdef CONFIG_IRQSTACKS
d4664b6c987f80 Ard Biesheuvel 2021-10-05 50
d4664b6c987f80 Ard Biesheuvel 2021-10-05 @51 asmlinkage DEFINE_PER_CPU_READ_MOSTLY(u8 *, irq_stack_ptr);
d4664b6c987f80 Ard Biesheuvel 2021-10-05 52

:::::: The code at line 51 was first introduced by commit
:::::: d4664b6c987f80338407889c1e3f3abe7e16be94 ARM: implement IRQ stacks

:::::: TO: Ard Biesheuvel <>
:::::: CC: Ard Biesheuvel <>

0-DAY CI Kernel Test Service

 \ /
  Last update: 2022-05-02 05:57    [W:0.038 / U:2.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site