lkml.org 
[lkml]   [2021]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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@intel.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@amd.com>
:::::: CC: Mark Brown <broonie@kernel.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]
\
 
 \ /
  Last update: 2021-08-22 04:48    [W:0.269 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site