linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: David Bauer <mail@david-bauer.net>,
	linus.walleij@linaro.org, robh+dt@kernel.org,
	lgirdwood@gmail.com, broonie@kernel.org
Cc: kbuild-all@lists.01.org, linux-gpio@vger.kernel.org,
	devicetree@vger.kernel.org,
	AngeloGioacchino Del Regno 
	<angelogioacchino.delregno@somainline.org>
Subject: Re: [PATCH v6 2/2] pinctrl: Add driver for Awinic AW9523/B I2C GPIO Expander
Date: Fri, 25 Jun 2021 12:50:48 +0800	[thread overview]
Message-ID: <202106251253.ajNPgHe1-lkp@intel.com> (raw)
In-Reply-To: <20210624214458.68716-2-mail@david-bauer.net>

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

Hi David,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on pinctrl/devel]
[also build test ERROR on robh/for-next v5.13-rc7 next-20210624]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/David-Bauer/dt-bindings-pinctrl-Add-bindings-for-Awinic-AW9523-AW9523B/20210625-055313
base:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
config: s390-allmodconfig (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/dd31385136eaa3a3feb0934f1e4ae4846a308c0c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review David-Bauer/dt-bindings-pinctrl-Add-bindings-for-Awinic-AW9523-AW9523B/20210625-055313
        git checkout dd31385136eaa3a3feb0934f1e4ae4846a308c0c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=s390 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/pinctrl/pinctrl-aw9523.c: In function 'aw9523_init_gpiochip':
>> drivers/pinctrl/pinctrl-aw9523.c:812:10: error: 'struct gpio_chip' has no member named 'of_node'
     812 |  gpiochip->of_node = dev->of_node;
         |          ^~


vim +812 drivers/pinctrl/pinctrl-aw9523.c

   791	
   792	static int aw9523_init_gpiochip(struct aw9523 *awi, unsigned int npins)
   793	{
   794		struct device *dev = awi->dev;
   795		struct gpio_chip *gpiochip = &awi->gpio;
   796	
   797		gpiochip->label = devm_kstrdup(dev, dev_name(dev), GFP_KERNEL);
   798		if (!gpiochip->label)
   799			return -ENOMEM;
   800	
   801		gpiochip->base = -1;
   802		gpiochip->ngpio = npins;
   803		gpiochip->get_direction = aw9523_gpio_get_direction;
   804		gpiochip->direction_input = aw9523_direction_input;
   805		gpiochip->direction_output = aw9523_direction_output;
   806		gpiochip->get = aw9523_gpio_get;
   807		gpiochip->get_multiple = aw9523_gpio_get_multiple;
   808		gpiochip->set = aw9523_gpio_set;
   809		gpiochip->set_multiple = aw9523_gpio_set_multiple;
   810		gpiochip->set_config = gpiochip_generic_config;
   811		gpiochip->parent = dev;
 > 812		gpiochip->of_node = dev->of_node;
   813		gpiochip->owner = THIS_MODULE;
   814		gpiochip->can_sleep = false;
   815	
   816		return 0;
   817	}
   818	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

  reply	other threads:[~2021-06-25  4:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 21:44 [PATCH v6 1/2] dt-bindings: pinctrl: Add bindings for Awinic AW9523/AW9523B David Bauer
2021-06-24 21:44 ` [PATCH v6 2/2] pinctrl: Add driver for Awinic AW9523/B I2C GPIO Expander David Bauer
2021-06-25  4:50   ` kernel test robot [this message]
2021-07-23 16:09     ` Linus Walleij
2021-06-25  6:08   ` kernel test robot
2024-03-05 17:27 ` [PATCH v6 1/2] dt-bindings: pinctrl: Add bindings for Awinic AW9523/AW9523B Rob Herring
2024-03-05 22:25   ` Linus Walleij
2024-03-06 13:20     ` Rob Herring

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=202106251253.ajNPgHe1-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=angelogioacchino.delregno@somainline.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=lgirdwood@gmail.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=mail@david-bauer.net \
    --cc=robh+dt@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).