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]
Date:   Sun, 22 Aug 2021 10:48:10 +0800
From:   kernel test robot <lkp@...el.com>
To:     kunliu13 <Kun.Liu2@....com>
Cc:     clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org, Gerrit Cr <Gerrit.Cr@....com>,
        Nehal Bakulchandra Shah <nehal-bakulchandra.shah@....com>
Subject: [agd5f:amd-staging-drm-next 541/556] drivers/spi/spi-amd.c:405:36:
 warning: unused variable 'spi_acpi_match'

tree:   https://gitlab.freedesktop.org/agd5f/linux.git amd-staging-drm-next
head:   c631af5a62e497a3d1d8ace5add26ae43040c48b
commit: 76e192c35ad70a1242a65971345a5056650f35e9 [541/556] Add support for AMD SPI controller-1
config: hexagon-randconfig-r041-20210822 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project a83d99c55ebb14532c414066a5aa3bdb65389965)
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
        git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
        git fetch --no-tags agd5f amd-staging-drm-next
        git checkout 76e192c35ad70a1242a65971345a5056650f35e9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=hexagon 

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

All warnings (new ones prefixed by >>):

>> drivers/spi/spi-amd.c:405:36: warning: unused variable 'spi_acpi_match' [-Wunused-const-variable]
   static const struct acpi_device_id spi_acpi_match[] = {
                                      ^
   1 warning generated.


vim +/spi_acpi_match +405 drivers/spi/spi-amd.c

bbb336f39efcb1 Sanjay R Mehta 2020-04-25  404  
bbb336f39efcb1 Sanjay R Mehta 2020-04-25 @405  static const struct acpi_device_id spi_acpi_match[] = {
bbb336f39efcb1 Sanjay R Mehta 2020-04-25  406  	{ "AMDI0061", 0 },
76e192c35ad70a kunliu13       2021-08-20  407  	{ "AMDI0062", 0 },
bbb336f39efcb1 Sanjay R Mehta 2020-04-25  408  	{},
bbb336f39efcb1 Sanjay R Mehta 2020-04-25  409  };
bbb336f39efcb1 Sanjay R Mehta 2020-04-25  410  MODULE_DEVICE_TABLE(acpi, spi_acpi_match);
76e192c35ad70a kunliu13       2021-08-20  411  

:::::: The code at line 405 was first introduced by commit
:::::: bbb336f39efcb1b5498f65f59f9af5773ad6dc2b spi: spi-amd: Add AMD SPI controller driver support

:::::: TO: Sanjay R Mehta <sanju.mehta@....com>
:::::: CC: Mark Brown <broonie@...nel.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" (30436 bytes)

Powered by blists - more mailing lists