[gpio:thread-irq-simpler 1/2] 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:   35ca3f61617db77364e40c1977952c5ee0a776cb
commit: d245b3f9bd36f02fd641cba9931d8b4c77126e74 [1/2] gpio: simplify adding threaded interrupts
config: arm-multi_v7_defconfig (attached as .config)
compiler: arm-linux-gnueabi-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 d245b3f9bd36f02fd641cba9931d8b4c77126e74
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (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 = {

:::::: 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