[mingo-tip:sched/headers 2114/2384] arch/mips/n64/irq.c:13:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'arch_init_irq'

From: kernel test robot
Date: Sat Jan 15 2022 - 00:39:48 EST


tree: git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git sched/headers
head: 4c707c1c0de83967079b4e385012fa5b00e2cd11
commit: 9b3c6ae85a5f3f3a0471ed5fba5c33471c2d9290 [2114/2384] headers/deps: irq: Optimize <linux/irq.h> dependencies, remove <linux/slab.h>
config: mips-randconfig-r036-20220113 (https://download.01.org/0day-ci/archive/20220115/202201151359.yIVoREOh-lkp@xxxxxxxxx/config)
compiler: mips-linux-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/mingo/tip.git/commit/?id=9b3c6ae85a5f3f3a0471ed5fba5c33471c2d9290
git remote add mingo-tip git://git.kernel.org/pub/scm/linux/kernel/git/mingo/tip.git
git fetch --no-tags mingo-tip sched/headers
git checkout 9b3c6ae85a5f3f3a0471ed5fba5c33471c2d9290
# 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=mips SHELL=/bin/bash arch/mips/n64/ drivers/media/rc/

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

All errors (new ones prefixed by >>):

In file included from include/linux/interrupt.h:23,
from arch/mips/n64/irq.c:8:
arch/mips/include/asm/irq.h:23:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'init_IRQ'
23 | extern void __init init_IRQ(void);
| ^~~~~~~~
>> arch/mips/n64/irq.c:13:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'arch_init_irq'
13 | void __init arch_init_irq(void)
| ^~~~~~~~~~~~~


vim +13 arch/mips/n64/irq.c

baec970aa5ba11 Lauri Kasanen 2021-01-13 12
baec970aa5ba11 Lauri Kasanen 2021-01-13 @13 void __init arch_init_irq(void)

:::::: The code at line 13 was first introduced by commit
:::::: baec970aa5ba11099ad7a91773350c91fb2113f0 mips: Add N64 machine type

:::::: TO: Lauri Kasanen <cand@xxxxxxx>
:::::: CC: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>

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