Content-Type: multipart/mixed; boundary="===============6453568082641775769==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [mkp-scsi:for-next 51/53] drivers/scsi/smartpqi/smartpqi_init.c:9067:32: warning: unused variable 'pqi_pm_ops' Date: Wed, 09 Feb 2022 06:39:58 +0800 Message-ID: <202202090657.bstNLuce-lkp@intel.com> List-Id: --===============6453568082641775769== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git for-ne= xt head: 62ed6622aaf0ba3c41cc6db6f901cbaa2a7378d1 commit: c66e078ad89e9f171a2474b255284d95c54c4c36 [51/53] scsi: smartpqi: Fi= x hibernate and suspend config: arm-randconfig-r003-20220208 (https://download.01.org/0day-ci/archi= ve/20220209/202202090657.bstNLuce-lkp(a)intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project e8bff9= ae54a55b4dbfeb6ba55f723abbd81bf494) reproduce (this is a W=3D1 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/comm= it/?id=3Dc66e078ad89e9f171a2474b255284d95c54c4c36 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=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Darm SHELL=3D/bin/bash drivers/scsi/smartpqi/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot 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 =3D { ^ 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 =3D { 9068 .suspend =3D pqi_suspend, 9069 .resume =3D pqi_resume_or_restore, 9070 .freeze =3D pqi_freeze, 9071 .thaw =3D pqi_thaw, 9072 .poweroff =3D pqi_poweroff, 9073 .restore =3D pqi_resume_or_restore, 9074 }; 9075 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============6453568082641775769==--