[ardb:arm-irq-stacks 15/15] arch/arm/kernel/irq.c:65:6: warning: no previous prototype for function 'do_softirq_own_stack'

From: kernel test robot
Date: Mon Oct 04 2021 - 22:46:50 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git arm-irq-stacks
head: 4bbf7c9961e231d8e957583fc0f88e571748e304
commit: 4bbf7c9961e231d8e957583fc0f88e571748e304 [15/15] ARM: run softirqs on the per-CPU IRQ stack
config: arm-randconfig-r012-20211004 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dec2257f354d39dbd8232e6bd1a417d91c4f14a2)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=4bbf7c9961e231d8e957583fc0f88e571748e304
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb arm-irq-stacks
git checkout 4bbf7c9961e231d8e957583fc0f88e571748e304
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=arm

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

All warnings (new ones prefixed by >>):

>> arch/arm/kernel/irq.c:65:6: warning: no previous prototype for function 'do_softirq_own_stack' [-Wmissing-prototypes]
void do_softirq_own_stack(void)
^
arch/arm/kernel/irq.c:65:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void do_softirq_own_stack(void)
^
static
1 warning generated.


vim +/do_softirq_own_stack +65 arch/arm/kernel/irq.c

64
> 65 void do_softirq_own_stack(void)
66 {
67 call_with_stack((void *)__do_softirq, NULL,
68 __this_cpu_read(irq_stack_ptr));
69 }
70

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip