[gpio:thread-irq-simpler 35/36] drivers/gpio/gpio-pl061.c:280:28: error: 'struct gpio_chip' has no member named 'irq_parent'; did you mean 'parent'?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git thread-irq-simpler
head:   415500f47fb6a4c6402b9a3622ff10b8cb3b1c84
commit: 51e4255df9cda99c1147c7f31b4e789c703ee115 [35/36] gpio: simplify adding threaded interrupts
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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
        git checkout 51e4255df9cda99c1147c7f31b4e789c703ee115
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All error/warnings (new ones prefixed by >>):

   drivers/gpio/gpio-pl061.c: In function 'pl061_irq_set_wake':
>> drivers/gpio/gpio-pl061.c:280:28: error: 'struct gpio_chip' has no member named 'irq_parent'; did you mean 'parent'?
     return irq_set_irq_wake(gc->irq_parent, state);
                               ^~
>> drivers/gpio/gpio-pl061.c:281:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^

vim +280 drivers/gpio/gpio-pl061.c

26ba9cd4 Linus Walleij  2015-09-24  274  }
26ba9cd4 Linus Walleij  2015-09-24  275  
2f46205b Sudeep Holla   2015-11-27  276  static int pl061_irq_set_wake(struct irq_data *d, unsigned int state)
2f46205b Sudeep Holla   2015-11-27  277  {
2f46205b Sudeep Holla   2015-11-27  278  	struct gpio_chip *gc = irq_data_get_irq_chip_data(d);
2f46205b Sudeep Holla   2015-11-27  279  
2f46205b Sudeep Holla   2015-11-27 @280  	return irq_set_irq_wake(gc->irq_parent, state);
2f46205b Sudeep Holla   2015-11-27 @281  }
2f46205b Sudeep Holla   2015-11-27  282  
f1f70479 Haojian Zhuang 2013-02-17  283  static struct irq_chip pl061_irqchip = {
9ae7e9e3 Linus Walleij  2013-11-26  284  	.name		= "pl061",

:::::: The code at line 280 was first introduced by commit
:::::: 2f46205b4e4c1c2a4b72082f805753eb51fbfab5 gpio: pl061: add support for wakeup configuration

:::::: TO: Sudeep Holla <sudeep.holla@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


[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux