Re: [PATCH 2/2] irqchip/gic: Only populate set_affinity for the root controller

From: kbuild test robot
Date: Mon Dec 21 2015 - 20:00:53 EST


Hi Jon,

[auto build test ERROR on tip/irq/core]
[also build test ERROR on next-20151221]
[cannot apply to v4.4-rc6]

url: https://github.com/0day-ci/linux/commits/Jon-Hunter/irqchip-gic-Remove-static-irq_chip-definition-for-eoimode1/20151221-221639
config: arm-realview_defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm

All errors (new ones prefixed by >>):

drivers/irqchip/irq-gic.c: In function '__gic_init_bases':
>> drivers/irqchip/irq-gic.c:1019:33: error: 'gic_set_affinity' undeclared (first use in this function)
gic->chip.irq_set_affinity = gic_set_affinity;
^
drivers/irqchip/irq-gic.c:1019:33: note: each undeclared identifier is reported only once for each function it appears in

vim +/gic_set_affinity +1019 drivers/irqchip/irq-gic.c

1013 gic->chip = gic_chip;
1014 gic->chip.name = kasprintf(GFP_KERNEL, "GIC-%d", gic_nr);
1015
1016 /* Initialize irq_chip */
1017 if (gic_nr == 0) {
1018 if (IS_ENABLED(CONFIG_SMP))
> 1019 gic->chip.irq_set_affinity = gic_set_affinity;
1020
1021 if (static_key_true(&supports_deactivate)) {
1022 gic->chip.irq_mask = gic_eoimode1_mask_irq;

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data