From: kernel test robot <lkp@intel.com>
To: kunliu13 <Kun.Liu2@amd.com>
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, Gerrit Cr <Gerrit.Cr@amd.com>,
Nehal Bakulchandra Shah <nehal-bakulchandra.shah@amd.com>
Subject: [agd5f:amd-staging-drm-next 541/556] drivers/spi/spi-amd.c:405:36: warning: unused variable 'spi_acpi_match'
Date: Sun, 22 Aug 2021 10:48:10 +0800 [thread overview]
Message-ID: <202108221004.HdsvDett-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-08-22 2:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202108221004.HdsvDett-lkp@intel.com \
--to=lkp@intel.com \
--cc=Gerrit.Cr@amd.com \
--cc=Kun.Liu2@amd.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nehal-bakulchandra.shah@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®