[tip:WIP.x86/apic 10/54] drivers//gpio/gpio-xgene-sb.c:224:14: error: initialization from incompatible pointer type

From: kbuild test robot
Date: Wed Sep 13 2017 - 17:08:23 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/apic
head: ec83e24ccab662e9365a8e75c594b8fe28b258bb
commit: bc60ae3759018999434294c29da962e86649a818 [10/54] genirq/irqdomain: Update irq_domain_ops.activate() signature
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout bc60ae3759018999434294c29da962e86649a818
# save the attached .config to linux build tree
make.cross ARCH=arm64

All errors (new ones prefixed by >>):

>> drivers//gpio/gpio-xgene-sb.c:224:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.activate = xgene_gpio_sb_domain_activate,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers//gpio/gpio-xgene-sb.c:224:14: note: (near initialization for 'xgene_gpio_sb_domain_ops.activate')
cc1: some warnings being treated as errors
--
>> drivers//irqchip/irq-gic-v3-its.c:2704:15: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
.activate = its_vpe_irq_domain_activate,
^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers//irqchip/irq-gic-v3-its.c:2704:15: note: (near initialization for 'its_vpe_domain_ops.activate')
cc1: some warnings being treated as errors

vim +224 drivers//gpio/gpio-xgene-sb.c

1013fc41 Quan Nguyen 2016-02-17 219
1013fc41 Quan Nguyen 2016-02-17 220 static const struct irq_domain_ops xgene_gpio_sb_domain_ops = {
1013fc41 Quan Nguyen 2016-02-17 221 .translate = xgene_gpio_sb_domain_translate,
1013fc41 Quan Nguyen 2016-02-17 222 .alloc = xgene_gpio_sb_domain_alloc,
c6cc75fe Axel Lin 2016-03-17 223 .free = irq_domain_free_irqs_common,
1013fc41 Quan Nguyen 2016-02-17 @224 .activate = xgene_gpio_sb_domain_activate,
1013fc41 Quan Nguyen 2016-02-17 225 .deactivate = xgene_gpio_sb_domain_deactivate,
1013fc41 Quan Nguyen 2016-02-17 226 };
1013fc41 Quan Nguyen 2016-02-17 227

:::::: The code at line 224 was first introduced by commit
:::::: 1013fc417cc15ead7c3a9091a47617f357db71a4 gpio: xgene: Enable X-Gene standby GPIO as interrupt controller

:::::: TO: Quan Nguyen <qnguyen@xxxxxxx>
:::::: CC: Linus Walleij <linus.walleij@xxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip