[xlnx:xlnx_rebase_v5.4 1172/1697] drivers/irqchip/irq-xilinx-intc.c:170:10: error: implicit declaration of function 'handle_domain_irq'; did you mean
From: kernel test robot <hidden>
Date: 2021-01-12 18:47:53
Also in:
oe-kbuild-all
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4 head: 629150468791671b5fde21363e643e87c5815b17 commit: 9b798b0101efddfd3c5f6e2d86dfbb1522bfc1cf [1172/1697] irqchip: xilinx: Use handle_domain_irq() config: m68k-allmodconfig (attached as .config) compiler: m68k-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://github.com/Xilinx/linux-xlnx/commit/9b798b0101efddfd3c5f6e2d86dfbb1522bfc1cf git remote add xlnx https://github.com/Xilinx/linux-xlnx git fetch --no-tags xlnx xlnx_rebase_v5.4 git checkout 9b798b0101efddfd3c5f6e2d86dfbb1522bfc1cf # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <redacted> All errors (new ones prefixed by >>): In file included from arch/m68k/include/asm/io_mm.h:25, from arch/m68k/include/asm/io.h:8, from include/linux/io.h:13, from include/linux/irq.h:20, from drivers/irqchip/irq-xilinx-intc.c:13: arch/m68k/include/asm/raw_io.h: In function 'raw_rom_outsb': arch/m68k/include/asm/raw_io.h:83:7: warning: variable '__w' set but not used [-Wunused-but-set-variable] 83 | ({u8 __w, __v = (b); u32 _addr = ((u32) (addr)); \ | ^~~ arch/m68k/include/asm/raw_io.h:430:3: note: in expansion of macro 'rom_out_8' 430 | rom_out_8(port, *buf++); | ^~~~~~~~~ arch/m68k/include/asm/raw_io.h: In function 'raw_rom_outsw': arch/m68k/include/asm/raw_io.h:86:8: warning: variable '__w' set but not used [-Wunused-but-set-variable] 86 | ({u16 __w, __v = (w); u32 _addr = ((u32) (addr)); \ | ^~~ arch/m68k/include/asm/raw_io.h:448:3: note: in expansion of macro 'rom_out_be16' 448 | rom_out_be16(port, *buf++); | ^~~~~~~~~~~~ arch/m68k/include/asm/raw_io.h: In function 'raw_rom_outsw_swapw': arch/m68k/include/asm/raw_io.h:90:8: warning: variable '__w' set but not used [-Wunused-but-set-variable] 90 | ({u16 __w, __v = (w); u32 _addr = ((u32) (addr)); \ | ^~~ arch/m68k/include/asm/raw_io.h:466:3: note: in expansion of macro 'rom_out_le16' 466 | rom_out_le16(port, *buf++); | ^~~~~~~~~~~~ drivers/irqchip/irq-xilinx-intc.c: In function 'xil_intc_handle_irq':
quoted
drivers/irqchip/irq-xilinx-intc.c:170:10: error: implicit declaration of function 'handle_domain_irq'; did you mean 'handle_bad_irq'? [-Werror=implicit-function-declaration]
170 | ret = handle_domain_irq(irqc->root_domain, hwirq, regs);
| ^~~~~~~~~~~~~~~~~
| handle_bad_irq
drivers/irqchip/irq-xilinx-intc.c: In function 'xilinx_intc_of_init':
drivers/irqchip/irq-xilinx-intc.c:280:3: error: implicit declaration of function 'set_handle_irq'; did you mean 'generic_handle_irq'? [-Werror=implicit-function-declaration]
280 | set_handle_irq(xil_intc_handle_irq);
| ^~~~~~~~~~~~~~
| generic_handle_irq
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for NEED_MULTIPLE_NODES
Depends on DISCONTIGMEM || NUMA
Selected by
- SINGLE_MEMORY_CHUNK && MMU
vim +170 drivers/irqchip/irq-xilinx-intc.c
160
161 static void xil_intc_handle_irq(struct pt_regs *regs)
162 {
163 int ret;
164 unsigned int hwirq, cpu_id = smp_processor_id();
165 struct xintc_irq_chip *irqc = per_cpu_ptr(&primary_intc, cpu_id);
166
167 do {
168 hwirq = irqc->read_fn(irqc->base + IVR);
169 if (hwirq != -1U) {
> 170 ret = handle_domain_irq(irqc->root_domain, hwirq, regs);
171 WARN_ONCE(ret, "cpu %d: Unhandled HWIRQ %d\n",
172 cpu_id, hwirq);
173 continue;
174 }
175
176 break;
177 } while (1);
178 }
179
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Attachments
- .config.gz [application/gzip] 52173 bytes
- (unnamed) [text/plain] 176 bytes · preview