Re: [PATCH 3/4] gpio: pxa: change the interrupt management

From: kbuild test robot
Date: Sat Nov 28 2015 - 18:25:34 EST


Hi Robert,

[auto build test ERROR on: gpio/for-next]
[also build test ERROR on: v4.4-rc2 next-20151127]

url: https://github.com/0day-ci/linux/commits/Robert-Jarzmik/gpio-pxa-integrate-with-pincontrol/20151129-054738
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: arm-pxa910_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/gpio/gpio-pxa.c: In function 'pxa_gpio_probe':
>> drivers/gpio/gpio-pxa.c:625:12: error: 'pxa_irq_domain_ops' undeclared (first use in this function)
0, &pxa_irq_domain_ops, pchip);
^
drivers/gpio/gpio-pxa.c:625:12: note: each undeclared identifier is reported only once for each function it appears in
drivers/gpio/gpio-pxa.c: At top level:
drivers/gpio/gpio-pxa.c:500:24: warning: 'pxa_muxed_gpio_chip' defined but not used [-Wunused-variable]
static struct irq_chip pxa_muxed_gpio_chip = {
^

vim +/pxa_irq_domain_ops +625 drivers/gpio/gpio-pxa.c

619
620 if (!pxa_last_gpio)
621 return -EINVAL;
622
623 pchip->irqdomain = irq_domain_add_legacy(pdev->dev.of_node,
624 pxa_last_gpio + 1, irq_base,
> 625 0, &pxa_irq_domain_ops, pchip);
626 if (IS_ERR(pchip->irqdomain))
627 return PTR_ERR(pchip->irqdomain);
628

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

Attachment: .config.gz
Description: Binary data