Messages in this thread | | | Date | Thu, 18 Nov 2021 22:06:36 +0800 | From | kernel test robot <> | Subject | [brgl:gpio/for-next 2/2] drivers/gpio/gpio-xlp.c:300:23: error: 'GPIO_VARIANT_VULCAN' undeclared here (not in a function) |
| |
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 [unhandled content-type:application/gzip] | |