mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Rob Herring <robh@kernel.org>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Bartosz Golaszewski <brgl@bgdev.pl>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: [brgl:gpio/for-next 2/2] drivers/gpio/gpio-xlp.c:300:23: error: 'GPIO_VARIANT_VULCAN' undeclared here (not in a function)
Date: Thu, 18 Nov 2021 22:06:36 +0800	[thread overview]
Message-ID: <202111182225.3I0LKFP7-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio/for-next
head:   ea708ac5bf419d9735354f9deada384c1059700f
commit: ea708ac5bf419d9735354f9deada384c1059700f [2/2] gpio: xlp: Remove Netlogic XLP variants
config: ia64-randconfig-r011-20211117 (attached as .config)
compiler: ia64-linux-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git/commit/?id=ea708ac5bf419d9735354f9deada384c1059700f
        git remote add brgl https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git
        git fetch --no-tags brgl gpio/for-next
        git checkout ea708ac5bf419d9735354f9deada384c1059700f
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 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-xlp.c:300:23: error: 'GPIO_VARIANT_VULCAN' undeclared here (not in a function)
     300 |         { "BRCM9006", GPIO_VARIANT_VULCAN },
         |                       ^~~~~~~~~~~~~~~~~~~


vim +/GPIO_VARIANT_VULCAN +300 drivers/gpio/gpio-xlp.c

ff718800067952 Kamlakant Patel 2015-04-28  297  
baa1b920a84081 Kamlakant Patel 2016-06-05  298  #ifdef CONFIG_ACPI
baa1b920a84081 Kamlakant Patel 2016-06-05  299  static const struct acpi_device_id xlp_gpio_acpi_match[] = {
baa1b920a84081 Kamlakant Patel 2016-06-05 @300  	{ "BRCM9006", GPIO_VARIANT_VULCAN },
529f75d8ca214a Jayachandran C  2017-03-12  301  	{ "CAV9006",  GPIO_VARIANT_VULCAN },
baa1b920a84081 Kamlakant Patel 2016-06-05  302  	{},
baa1b920a84081 Kamlakant Patel 2016-06-05  303  };
baa1b920a84081 Kamlakant Patel 2016-06-05  304  MODULE_DEVICE_TABLE(acpi, xlp_gpio_acpi_match);
baa1b920a84081 Kamlakant Patel 2016-06-05  305  #endif
baa1b920a84081 Kamlakant Patel 2016-06-05  306  

:::::: The code at line 300 was first introduced by commit
:::::: baa1b920a8408134e4ab117e4bdb216cb09b1869 gpio: Add ACPI support for XLP GPIO controller

:::::: TO: Kamlakant Patel <kamlakant.patel@broadcom.com>
:::::: CC: Linus Walleij <linus.walleij@linaro.org>

---
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: 41838 bytes --]

                 reply	other threads:[~2021-11-18 14:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202111182225.3I0LKFP7-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=brgl@bgdev.pl \
    --cc=kbuild-all@lists.01.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@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

all inboxes | Powered by JetHome®