[ardb:for-kernelci 18/28] arch/arm/mach-footbridge/common.c:102:6: warning: no previous prototype for 'dc21285_handle_irq'

From: kernel test robot
Date: Tue Nov 30 2021 - 16:24:00 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git for-kernelci
head: 6999340fcf7f37e2a82eb35452b08c5893a2872d
commit: 9a2235df531e427be5777a894b3fa355ce127894 [18/28] ARM: footbridge: use GENERIC_IRQ_MULTI_HANDLER
config: arm-footbridge_defconfig (https://download.01.org/0day-ci/archive/20211201/202112010520.F2sIDAwN-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git/commit/?id=9a2235df531e427be5777a894b3fa355ce127894
git remote add ardb git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git
git fetch --no-tags ardb for-kernelci
git checkout 9a2235df531e427be5777a894b3fa355ce127894
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm SHELL=/bin/bash

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/mach-footbridge/common.c:102:6: warning: no previous prototype for 'dc21285_handle_irq' [-Wmissing-prototypes]
102 | void dc21285_handle_irq(struct pt_regs *regs)
| ^~~~~~~~~~~~~~~~~~


vim +/dc21285_handle_irq +102 arch/arm/mach-footbridge/common.c

101
> 102 void dc21285_handle_irq(struct pt_regs *regs)
103 {
104 int irq;
105 do {
106 irq = dc21285_get_irq();
107 if (!irq)
108 break;
109
110 generic_handle_irq(irq);
111 } while (1);
112 }
113

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