All of lore.kernel.org
 help / color / mirror / Atom feed
* [mkp-scsi:for-next 51/53] drivers/scsi/smartpqi/smartpqi_init.c:9067:32: warning: unused variable 'pqi_pm_ops'
@ 2022-02-08 22:39 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-02-08 22:39 UTC (permalink / raw)
  To: Kevin Barnett
  Cc: llvm, kbuild-all, linux-kernel, Martin K. Petersen, Mike McGowen,
	Scott Benesh, Scott Teel, Don Brace

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@intel.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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [mkp-scsi:for-next 51/53] drivers/scsi/smartpqi/smartpqi_init.c:9067:32: warning: unused variable 'pqi_pm_ops'
@ 2022-02-08 22:39 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2022-02-08 22:39 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2167 bytes --]

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(a)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@intel.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(a)lists.01.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-08 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-08 22:39 [mkp-scsi:for-next 51/53] drivers/scsi/smartpqi/smartpqi_init.c:9067:32: warning: unused variable 'pqi_pm_ops' kernel test robot
2022-02-08 22:39 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.