linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Justin Chen <justinpopo6@gmail.com>,
	linus.walleij@linaro.org, brgl@bgdev.pl, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org
Cc: kbuild-all@lists.01.org, linux-gpio@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	f.fainelli@gmail.com, Justin Chen <justinpopo6@gmail.com>
Subject: Re: [PATCH 1/2] gpio: pca953xx: Add support for pca6408
Date: Thu, 5 May 2022 07:09:10 +0800	[thread overview]
Message-ID: <202205050612.1bwSZpER-lkp@intel.com> (raw)
In-Reply-To: <1651685100-44687-2-git-send-email-justinpopo6@gmail.com>

Hi Justin,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on v5.18-rc5]
[also build test ERROR on next-20220504]
[cannot apply to linusw-gpio/for-next]
[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/intel-lab-lkp/linux/commits/Justin-Chen/Add-support-for-NXP-PCA6408/20220505-020844
base:    672c0c5173427e6b3e2a9bbb7be51ceeec78093a
config: microblaze-randconfig-r031-20220501 (https://download.01.org/0day-ci/archive/20220505/202205050612.1bwSZpER-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 11.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/intel-lab-lkp/linux/commit/d45d7c84e1613b51cb1eb90ef6d92f4112a45925
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Justin-Chen/Add-support-for-NXP-PCA6408/20220505-020844
        git checkout d45d7c84e1613b51cb1eb90ef6d92f4112a45925
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=microblaze SHELL=/bin/bash drivers/gpio/

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/gpio/gpio-pca953x.c:74:27: error: 'PCA953x_TYPE' undeclared here (not in a function); did you mean 'PCA953X_TYPE'?
      74 |         { "pca6408", 8  | PCA953x_TYPE | PCA_INT, },
         |                           ^~~~~~~~~~~~
         |                           PCA953X_TYPE


vim +74 drivers/gpio/gpio-pca953x.c

    72	
    73	static const struct i2c_device_id pca953x_id[] = {
  > 74		{ "pca6408", 8  | PCA953x_TYPE | PCA_INT, },
    75		{ "pca6416", 16 | PCA953X_TYPE | PCA_INT, },
    76		{ "pca9505", 40 | PCA953X_TYPE | PCA_INT, },
    77		{ "pca9506", 40 | PCA953X_TYPE | PCA_INT, },
    78		{ "pca9534", 8  | PCA953X_TYPE | PCA_INT, },
    79		{ "pca9535", 16 | PCA953X_TYPE | PCA_INT, },
    80		{ "pca9536", 4  | PCA953X_TYPE, },
    81		{ "pca9537", 4  | PCA953X_TYPE | PCA_INT, },
    82		{ "pca9538", 8  | PCA953X_TYPE | PCA_INT, },
    83		{ "pca9539", 16 | PCA953X_TYPE | PCA_INT, },
    84		{ "pca9554", 8  | PCA953X_TYPE | PCA_INT, },
    85		{ "pca9555", 16 | PCA953X_TYPE | PCA_INT, },
    86		{ "pca9556", 8  | PCA953X_TYPE, },
    87		{ "pca9557", 8  | PCA953X_TYPE, },
    88		{ "pca9574", 8  | PCA957X_TYPE | PCA_INT, },
    89		{ "pca9575", 16 | PCA957X_TYPE | PCA_INT, },
    90		{ "pca9698", 40 | PCA953X_TYPE, },
    91	
    92		{ "pcal6416", 16 | PCA953X_TYPE | PCA_LATCH_INT, },
    93		{ "pcal6524", 24 | PCA953X_TYPE | PCA_LATCH_INT, },
    94		{ "pcal9535", 16 | PCA953X_TYPE | PCA_LATCH_INT, },
    95		{ "pcal9554b", 8  | PCA953X_TYPE | PCA_LATCH_INT, },
    96		{ "pcal9555a", 16 | PCA953X_TYPE | PCA_LATCH_INT, },
    97	
    98		{ "max7310", 8  | PCA953X_TYPE, },
    99		{ "max7312", 16 | PCA953X_TYPE | PCA_INT, },
   100		{ "max7313", 16 | PCA953X_TYPE | PCA_INT, },
   101		{ "max7315", 8  | PCA953X_TYPE | PCA_INT, },
   102		{ "max7318", 16 | PCA953X_TYPE | PCA_INT, },
   103		{ "pca6107", 8  | PCA953X_TYPE | PCA_INT, },
   104		{ "tca6408", 8  | PCA953X_TYPE | PCA_INT, },
   105		{ "tca6416", 16 | PCA953X_TYPE | PCA_INT, },
   106		{ "tca6424", 24 | PCA953X_TYPE | PCA_INT, },
   107		{ "tca9539", 16 | PCA953X_TYPE | PCA_INT, },
   108		{ "tca9554", 8  | PCA953X_TYPE | PCA_INT, },
   109		{ "xra1202", 8  | PCA953X_TYPE },
   110		{ }
   111	};
   112	MODULE_DEVICE_TABLE(i2c, pca953x_id);
   113	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

  parent reply	other threads:[~2022-05-04 23:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-04 17:24 [PATCH 0/2] Add support for NXP PCA6408 Justin Chen
2022-05-04 17:24 ` [PATCH 1/2] gpio: pca953xx: Add support for pca6408 Justin Chen
2022-05-04 18:55   ` Justin Chen
2022-05-04 23:09   ` kernel test robot [this message]
2022-05-04 17:25 ` [PATCH 2/2] dt-bindings: gpio: pca95xx: add entry " Justin Chen

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=202205050612.1bwSZpER-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=brgl@bgdev.pl \
    --cc=devicetree@vger.kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=justinpopo6@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --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).