[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202090657.bstNLuce-lkp@intel.com>
Date: Wed, 9 Feb 2022 06:39:58 +0800
From: kernel test robot <lkp@...el.com>
To: Kevin Barnett <kevin.barnett@...rochip.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Mike McGowen <mike.mcgowen@...rochip.com>,
Scott Benesh <scott.benesh@...rochip.com>,
Scott Teel <scott.teel@...rochip.com>,
Don Brace <don.brace@...rochip.com>
Subject: [mkp-scsi:for-next 51/53]
drivers/scsi/smartpqi/smartpqi_init.c:9067:32: warning: unused variable
'pqi_pm_ops'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-next
head: 62ed6622aaf0ba3c41cc6db6f901cbaa2a7378d1
commit: c66e078ad89e9f171a2474b255284d95c54c4c36 [51/53] scsi: smartpqi: Fix hibernate and suspend
config: arm-randconfig-r003-20220208 (https://download.01.org/0day-ci/archive/20220209/202202090657.bstNLuce-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project e8bff9ae54a55b4dbfeb6ba55f723abbd81bf494)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git/commit/?id=c66e078ad89e9f171a2474b255284d95c54c4c36
git remote add mkp-scsi https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git
git fetch --no-tags mkp-scsi for-next
git checkout c66e078ad89e9f171a2474b255284d95c54c4c36
# 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=arm SHELL=/bin/bash drivers/scsi/smartpqi/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All warnings (new ones prefixed by >>):
>> drivers/scsi/smartpqi/smartpqi_init.c:9067:32: warning: unused variable 'pqi_pm_ops' [-Wunused-const-variable]
static const struct dev_pm_ops pqi_pm_ops = {
^
1 warning generated.
vim +/pqi_pm_ops +9067 drivers/scsi/smartpqi/smartpqi_init.c
9066
> 9067 static const struct dev_pm_ops pqi_pm_ops = {
9068 .suspend = pqi_suspend,
9069 .resume = pqi_resume_or_restore,
9070 .freeze = pqi_freeze,
9071 .thaw = pqi_thaw,
9072 .poweroff = pqi_poweroff,
9073 .restore = pqi_resume_or_restore,
9074 };
9075
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists