From: kernel test robot <lkp@intel.com>
To: Bart Van Assche <bvanassche@acm.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [bvanassche:ufs-for-next-2022-03-25 32/32] drivers/scsi/ufs-drivers/ufs-hisi.c:560:34: warning: unused variable 'ufs_hisi_of_match'
Date: Sat, 26 Mar 2022 16:21:17 +0800 [thread overview]
Message-ID: <202203261643.I7AyxLDj-lkp@intel.com> (raw)
Hi Bart,
First bad commit (maybe != root cause):
tree: https://github.com/bvanassche/linux ufs-for-next-2022-03-25
head: 976ba17fe820846e56fb154b1ae35f5d90be192b
commit: 976ba17fe820846e56fb154b1ae35f5d90be192b [32/32] scsi: ufs: Split the drivers/scsi/ufs directory
config: hexagon-randconfig-r005-20220325 (https://download.01.org/0day-ci/archive/20220326/202203261643.I7AyxLDj-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d)
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://github.com/bvanassche/linux/commit/976ba17fe820846e56fb154b1ae35f5d90be192b
git remote add bvanassche https://github.com/bvanassche/linux
git fetch --no-tags bvanassche ufs-for-next-2022-03-25
git checkout 976ba17fe820846e56fb154b1ae35f5d90be192b
# 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/scsi/ufs-drivers/
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/scsi/ufs-drivers/ufs-hisi.c:560:34: warning: unused variable 'ufs_hisi_of_match' [-Wunused-const-variable]
static const struct of_device_id ufs_hisi_of_match[] = {
^
1 warning generated.
vim +/ufs_hisi_of_match +560 drivers/scsi/ufs-drivers/ufs-hisi.c
653fcb07d95eda5 drivers/scsi/ufs/ufs-hisi.c Manivannan Sadhasivam 2019-01-05 559
653fcb07d95eda5 drivers/scsi/ufs/ufs-hisi.c Manivannan Sadhasivam 2019-01-05 @560 static const struct of_device_id ufs_hisi_of_match[] = {
653fcb07d95eda5 drivers/scsi/ufs/ufs-hisi.c Manivannan Sadhasivam 2019-01-05 561 { .compatible = "hisilicon,hi3660-ufs", .data = &ufs_hba_hi3660_vops },
653fcb07d95eda5 drivers/scsi/ufs/ufs-hisi.c Manivannan Sadhasivam 2019-01-05 562 { .compatible = "hisilicon,hi3670-ufs", .data = &ufs_hba_hi3670_vops },
653fcb07d95eda5 drivers/scsi/ufs/ufs-hisi.c Manivannan Sadhasivam 2019-01-05 563 {},
653fcb07d95eda5 drivers/scsi/ufs/ufs-hisi.c Manivannan Sadhasivam 2019-01-05 564 };
653fcb07d95eda5 drivers/scsi/ufs/ufs-hisi.c Manivannan Sadhasivam 2019-01-05 565
:::::: The code at line 560 was first introduced by commit
:::::: 653fcb07d95eda58b72a5e715230b582c4d6d69e scsi: ufs: Add HI3670 SoC UFS driver support
:::::: TO: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
:::::: CC: Martin K. Petersen <martin.petersen@oracle.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-03-26 8:21 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=202203261643.I7AyxLDj-lkp@intel.com \
--to=lkp@intel.com \
--cc=bvanassche@acm.org \
--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