Re: [irqchip: irq/irqchip-next] irqchip: Bulk conversion to generic_handle_domain_irq()

From: kernel test robot
Date: Sun Jun 06 2021 - 10:00:25 EST


Hi irqchip-bot,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on tip/irq/core]
[also build test ERROR on linux/master linus/master v5.13-rc4 next-20210604]
[cannot apply to joel-aspeed/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/irqchip-bot-for-Marc-Zyngier/irqchip-Bulk-conversion-to-generic_handle_domain_irq/20210606-205309
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 006ae1970a8cde1d3e92da69b324d12880133a13
config: h8300-randconfig-r031-20210606 (attached as .config)
compiler: h8300-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/0day-ci/linux/commit/112649223bc7f45e7063dea9f735d78b356f656b
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review irqchip-bot-for-Marc-Zyngier/irqchip-Bulk-conversion-to-generic_handle_domain_irq/20210606-205309
git checkout 112649223bc7f45e7063dea9f735d78b356f656b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=h8300

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

All errors (new ones prefixed by >>):

drivers/irqchip/irq-ts4800.c: In function 'ts4800_ic_chained_handle_irq':
>> drivers/irqchip/irq-ts4800.c:83:3: error: implicit declaration of function 'generic_handle_domain_irq'; did you mean 'generic_handle_irq'? [-Werror=implicit-function-declaration]
83 | generic_handle_domain_irq(data->domain, bit);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| generic_handle_irq
cc1: some warnings being treated as errors
--
drivers/irqchip/irq-ingenic-tcu.c: In function 'ingenic_tcu_intc_cascade':
>> drivers/irqchip/irq-ingenic-tcu.c:41:3: error: implicit declaration of function 'generic_handle_domain_irq'; did you mean 'generic_handle_irq'? [-Werror=implicit-function-declaration]
41 | generic_handle_domain_irq(domain, i);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| generic_handle_irq
cc1: some warnings being treated as errors
--
drivers/irqchip/irq-imx-intmux.c: In function 'imx_intmux_irq_handler':
>> drivers/irqchip/irq-imx-intmux.c:193:3: error: implicit declaration of function 'generic_handle_domain_irq'; did you mean 'generic_handle_irq'? [-Werror=implicit-function-declaration]
193 | generic_handle_domain_irq(irqchip_data->domain, pos);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| generic_handle_irq
cc1: some warnings being treated as errors


vim +83 drivers/irqchip/irq-ts4800.c

66
67 static void ts4800_ic_chained_handle_irq(struct irq_desc *desc)
68 {
69 struct ts4800_irq_data *data = irq_desc_get_handler_data(desc);
70 struct irq_chip *chip = irq_desc_get_chip(desc);
71 u16 status = readw(data->base + IRQ_STATUS);
72
73 chained_irq_enter(chip, desc);
74
75 if (unlikely(status == 0)) {
76 handle_bad_irq(desc);
77 goto out;
78 }
79
80 do {
81 unsigned int bit = __ffs(status);
82
> 83 generic_handle_domain_irq(data->domain, bit);
84 status &= ~(1 << bit);
85 } while (status);
86
87 out:
88 chained_irq_exit(chip, desc);
89 }
90

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

Attachment: .config.gz
Description: application/gzip