lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202111182225.3I0LKFP7-lkp@intel.com>
Date:   Thu, 18 Nov 2021 22:06:36 +0800
From:   kernel test robot <lkp@...el.com>
To:     Rob Herring <robh@...nel.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Bartosz Golaszewski <brgl@...ev.pl>,
        Linus Walleij <linus.walleij@...aro.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)

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@...el.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@...adcom.com>
:::::: CC: Linus Walleij <linus.walleij@...aro.org>

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

Download attachment ".config.gz" of type "application/gzip" (41838 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ