tree:
https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
irq/domain_cleanup
head: 9f2ec21368f318d9bfcb5cec966c24c00c6681be
commit: 2a22c2b61b583fe4d76d1d1a956f4d4e047f12c4 [38/39] nios2: Bulk conversion to
generic_handle_domain_irq()
config: nios2-randconfig-r006-20210517 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.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/maz/arm-platforms.git/com...
git remote add arm-platforms
https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
git fetch --no-tags arm-platforms irq/domain_cleanup
git checkout 2a22c2b61b583fe4d76d1d1a956f4d4e047f12c4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arch/nios2/kernel/irq.c:19:17: warning: no previous prototype for 'do_IRQ'
[-Wmissing-prototypes]
19 | asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
| ^~~~~~
arch/nios2/kernel/irq.c: In function 'do_IRQ':
> arch/nios2/kernel/irq.c:24:2: error: implicit declaration of
function 'generic_handle_domain_irqg'; did you mean
'generic_handle_domain_irq'? [-Werror=implicit-function-declaration]
24 | generic_handle_domain_irqg(NULL, hwirq);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| generic_handle_domain_irq
arch/nios2/kernel/irq.c: At top level:
arch/nios2/kernel/irq.c:61:13: warning: no previous prototype for 'init_IRQ'
[-Wmissing-prototypes]
61 | void __init init_IRQ(void)
| ^~~~~~~~
cc1: some warnings being treated as errors
vim +24 arch/nios2/kernel/irq.c
18
19 asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs)
20 {
21 struct pt_regs *oldregs = set_irq_regs(regs);
22
23 irq_enter();
24 generic_handle_domain_irqg(NULL, hwirq);
25 irq_exit();
26
27 set_irq_regs(oldregs);
28 }
29
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org