lkml.org 
[lkml]   [2017]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[tip:WIP.x86/apic 10/54] drivers//gpio/gpio-xgene-sb.c:224:14: error: initialization from incompatible pointer type
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@apm.com>
:::::: CC: Linus Walleij <linus.walleij@linaro.org>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2017-09-13 23:08    [W:0.030 / U:1.384 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site