All of lore.kernel.org
 help / color / mirror / Atom feed
* [agd5f:amd-staging-drm-next 541/556] drivers/spi/spi-amd.c:405:36: warning: unused variable 'spi_acpi_match'
@ 2021-08-22  2:48 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-22  2:48 UTC (permalink / raw)
  To: kunliu13
  Cc: clang-built-linux, kbuild-all, linux-kernel, Gerrit Cr,
	Nehal Bakulchandra Shah

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

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30436 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [agd5f:amd-staging-drm-next 541/556] drivers/spi/spi-amd.c:405:36: warning: unused variable 'spi_acpi_match'
@ 2021-08-22  2:48 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-22  2:48 UTC (permalink / raw)
  To: kbuild-all

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

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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30436 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-22  2:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-22  2:48 [agd5f:amd-staging-drm-next 541/556] drivers/spi/spi-amd.c:405:36: warning: unused variable 'spi_acpi_match' kernel test robot
2021-08-22  2:48 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.