linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: kbuild-all@01.org, linux-gpio@vger.kernel.org,
	Linus Walleij <linus.walleij@linaro.org>
Subject: [gpio:devel 12/12] drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:630:27: error: 'struct gpio_chip' has no member named 'irq_base'; did you mean 'base'?
Date: Sun, 15 Oct 2017 09:52:18 +0800	[thread overview]
Message-ID: <201710150916.Se4u1t6V%fengguang.wu@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2722 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git devel
head:   be58c675d634e0b91edc0f721c77303ac2afa809
commit: be58c675d634e0b91edc0f721c77303ac2afa809 [12/12] gpiolib: drop irq_base field from gpio_chip struct
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 be58c675d634e0b91edc0f721c77303ac2afa809
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   drivers/pinctrl/mvebu/pinctrl-armada-37xx.c: In function 'armada_37xx_irq_startup':
>> drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:630:27: error: 'struct gpio_chip' has no member named 'irq_base'; did you mean 'base'?
     int irq = d->hwirq - chip->irq_base;
                              ^~

vim +630 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c

2f2276053 Gregory CLEMENT 2017-04-28  626  
a9a1a4833 Gregory CLEMENT 2017-09-07  627  static unsigned int armada_37xx_irq_startup(struct irq_data *d)
a9a1a4833 Gregory CLEMENT 2017-09-07  628  {
a9a1a4833 Gregory CLEMENT 2017-09-07  629  	struct gpio_chip *chip = irq_data_get_irq_chip_data(d);
a9a1a4833 Gregory CLEMENT 2017-09-07 @630  	int irq = d->hwirq - chip->irq_base;
a9a1a4833 Gregory CLEMENT 2017-09-07  631  	/*
a9a1a4833 Gregory CLEMENT 2017-09-07  632  	 * The mask field is a "precomputed bitmask for accessing the
a9a1a4833 Gregory CLEMENT 2017-09-07  633  	 * chip registers" which was introduced for the generic
a9a1a4833 Gregory CLEMENT 2017-09-07  634  	 * irqchip framework. As we don't use this framework, we can
a9a1a4833 Gregory CLEMENT 2017-09-07  635  	 * reuse this field for our own usage.
a9a1a4833 Gregory CLEMENT 2017-09-07  636  	 */
a9a1a4833 Gregory CLEMENT 2017-09-07  637  	d->mask = BIT(irq % GPIO_PER_REG);
a9a1a4833 Gregory CLEMENT 2017-09-07  638  
a9a1a4833 Gregory CLEMENT 2017-09-07  639  	armada_37xx_irq_unmask(d);
a9a1a4833 Gregory CLEMENT 2017-09-07  640  
a9a1a4833 Gregory CLEMENT 2017-09-07  641  	return 0;
a9a1a4833 Gregory CLEMENT 2017-09-07  642  }
a9a1a4833 Gregory CLEMENT 2017-09-07  643  

:::::: The code at line 630 was first introduced by commit
:::::: a9a1a4833613b8a2e8dd79f860ea1871f17da02c pinctrl: armada-37xx: Fix gpio interrupt setup

:::::: TO: Gregory CLEMENT <gregory.clement@free-electrons.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36865 bytes --]

             reply	other threads:[~2017-10-15  1:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-15  1:52 kbuild test robot [this message]
2017-10-15 14:21 ` [gpio:devel 12/12] drivers/pinctrl/mvebu/pinctrl-armada-37xx.c:630:27: error: 'struct gpio_chip' has no member named 'irq_base'; did you mean 'base'? Linus Walleij
2017-10-16  8:05   ` Thierry Reding
2017-10-16  8:08     ` Thierry Reding
2017-10-16 11:50       ` Linus Walleij
2017-10-16 12:46         ` Thierry Reding
2017-10-16 14:53           ` Gregory CLEMENT
2017-10-16 21:15             ` Linus Walleij
2017-10-19 11:16               ` Gregory CLEMENT
2017-10-19 13:17           ` Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201710150916.Se4u1t6V%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=grygorii.strashko@ti.com \
    --cc=kbuild-all@01.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).