From: kernel test robot <lkp@intel.com>
To: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, Hannes Reinecke <hare@suse.de>
Subject: [dlemoal-libata:for-next 85/106] drivers/ata/ahci_st.c:233:34: warning: unused variable 'st_ahci_match'
Date: Wed, 12 Jan 2022 23:19:18 +0800 [thread overview]
Message-ID: <202201122335.B7ADTynl-lkp@intel.com> (raw)
Hi Damien,
First bad commit (maybe != root cause):
tree: git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata.git for-next
head: 7914e9624dd7ce17d3d3b1dcd6c3fe5d366b228c
commit: 3e7a673b5674512efdcd9ec5ff154ee697c3f7ef [85/106] ata: ahci_st: add compile test support
config: hexagon-buildonly-randconfig-r005-20220112 (https://download.01.org/0day-ci/archive/20220112/202201122335.B7ADTynl-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 244dd2913a43a200f5a6544d424cdc37b771028b)
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/dlemoal/libata.git/commit/?id=3e7a673b5674512efdcd9ec5ff154ee697c3f7ef
git remote add dlemoal-libata git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata.git
git fetch --no-tags dlemoal-libata for-next
git checkout 3e7a673b5674512efdcd9ec5ff154ee697c3f7ef
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/ata/
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/ata/ahci_st.c:233:34: warning: unused variable 'st_ahci_match' [-Wunused-const-variable]
static const struct of_device_id st_ahci_match[] = {
^
1 warning generated.
vim +/st_ahci_match +233 drivers/ata/ahci_st.c
76884cb2f7da52 Lee Jones 2014-02-26 232
09de99db23df55 Kiran Padwal 2014-07-22 @233 static const struct of_device_id st_ahci_match[] = {
76884cb2f7da52 Lee Jones 2014-02-26 234 { .compatible = "st,ahci", },
76884cb2f7da52 Lee Jones 2014-02-26 235 {},
76884cb2f7da52 Lee Jones 2014-02-26 236 };
76884cb2f7da52 Lee Jones 2014-02-26 237 MODULE_DEVICE_TABLE(of, st_ahci_match);
76884cb2f7da52 Lee Jones 2014-02-26 238
:::::: The code at line 233 was first introduced by commit
:::::: 09de99db23df55c7415d110f6c62281dedd77384 ahci: st: Make of_device_id array const
:::::: TO: Kiran Padwal <kiran.padwal21@gmail.com>
:::::: CC: Tejun Heo <tj@kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
reply other threads:[~2022-01-12 15:20 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=202201122335.B7ADTynl-lkp@intel.com \
--to=lkp@intel.com \
--cc=damien.lemoal@opensource.wdc.com \
--cc=hare@suse.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/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
Powered by JetHome