[ammarfaizi2-block:arm64/linux/for-next/misc 2/2] arch/arm64/kernel/irq.c:81:6: warning: no previous prototype for 'do_softirq_own_stack'
From: kernel test robot
Date: Fri Sep 09 2022 - 02:28:16 EST
tree: https://github.com/ammarfaizi2/linux-block arm64/linux/for-next/misc
head: 2d2f3bb897a3de4190b1b6b296c3429d01327554
commit: 2d2f3bb897a3de4190b1b6b296c3429d01327554 [2/2] arm64: run softirqs on the per-CPU IRQ stack
config: arm64-randconfig-r005-20220907 (https://download.01.org/0day-ci/archive/20220909/202209091406.f6EClPti-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/ammarfaizi2/linux-block/commit/2d2f3bb897a3de4190b1b6b296c3429d01327554
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block arm64/linux/for-next/misc
git checkout 2d2f3bb897a3de4190b1b6b296c3429d01327554
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>):
>> arch/arm64/kernel/irq.c:81:6: warning: no previous prototype for 'do_softirq_own_stack' [-Wmissing-prototypes]
81 | void do_softirq_own_stack(void)
| ^~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/irq.c:120:13: warning: no previous prototype for 'init_IRQ' [-Wmissing-prototypes]
120 | void __init init_IRQ(void)
| ^~~~~~~~
vim +/do_softirq_own_stack +81 arch/arm64/kernel/irq.c
80
> 81 void do_softirq_own_stack(void)
82 {
83 call_on_irq_stack(NULL, ____do_softirq);
84 }
85 #endif
86
--
0-DAY CI Kernel Test Service
https://01.org/lkp