* [jsarha:topic/chromeos-4.19-s0ix 7573/9999] drivers/nvme/host/pci.c:2705:25: sparse: sparse: symbol 'nvme_dev_pm_ops' was not declared. Should it be static?
@ 2023-02-04 10:49 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2023-02-04 10:49 UTC (permalink / raw)
To: Keith Busch; +Cc: oe-kbuild-all, Rajat Jain, Gwendal Grignou
tree: https://github.com/jsarha/linux topic/chromeos-4.19-s0ix
head: 430bdaa0a8c38697780f45a148964d71951df11f
commit: bc7304877066a781782a7b43ea0ed2edcc767637 [7573/9999] BACKPORT: FROMGIT: nvme-pci: Use host managed power state for suspend
config: i386-randconfig-s002 (https://download.01.org/0day-ci/archive/20230204/202302041816.01TYjFuu-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-39-gce1a6720-dirty
# https://github.com/jsarha/linux/commit/bc7304877066a781782a7b43ea0ed2edcc767637
git remote add jsarha https://github.com/jsarha/linux
git fetch --no-tags jsarha topic/chromeos-4.19-s0ix
git checkout bc7304877066a781782a7b43ea0ed2edcc767637
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 olddefconfig
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/nvme/host/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/nvme/host/pci.c:2705:25: sparse: sparse: symbol 'nvme_dev_pm_ops' was not declared. Should it be static?
drivers/nvme/host/pci.c:1263: warning: Function parameter or member 'nvmeq' not described in 'nvme_suspend_queue'
vim +/nvme_dev_pm_ops +2705 drivers/nvme/host/pci.c
2704
> 2705 const struct dev_pm_ops nvme_dev_pm_ops = {
2706 .suspend = nvme_suspend,
2707 .resume = nvme_resume,
2708 .freeze = nvme_simple_suspend,
2709 .thaw = nvme_simple_resume,
2710 .poweroff = nvme_simple_suspend,
2711 .restore = nvme_simple_resume,
2712 };
2713
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] 3+ messages in thread
* [jsarha:topic/chromeos-4.19-s0ix 7573/9999] drivers/nvme/host/pci.c:2705:25: sparse: sparse: symbol 'nvme_dev_pm_ops' was not declared. Should it be static?
@ 2024-04-19 1:02 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2024-04-19 1:02 UTC (permalink / raw)
Cc: oe-kbuild-all
tree: https://github.com/jsarha/linux topic/chromeos-4.19-s0ix
head: 430bdaa0a8c38697780f45a148964d71951df11f
commit: bc7304877066a781782a7b43ea0ed2edcc767637 [7573/9999] BACKPORT: FROMGIT: nvme-pci: Use host managed power state for suspend
config: x86_64-randconfig-123-20240419 (https://download.01.org/0day-ci/archive/20240419/202404190855.Bmsj8VGO-lkp@intel.com/config)
compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240419/202404190855.Bmsj8VGO-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404190855.Bmsj8VGO-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/nvme/host/pci.c:2705:25: sparse: sparse: symbol 'nvme_dev_pm_ops' was not declared. Should it be static?
drivers/nvme/host/pci.c:1263: warning: Function parameter or member 'nvmeq' not described in 'nvme_suspend_queue'
drivers/nvme/host/pci.o: warning: objtool: __nvme_alloc_host_mem()+0x90: sibling call from callable instruction with modified stack frame
drivers/nvme/host/pci.o: warning: objtool: nvme_pci_cmd_size()+0x63: sibling call from callable instruction with modified stack frame
drivers/nvme/host/pci.o: warning: objtool: nvme_pci_setup_prps()+0x211: sibling call from callable instruction with modified stack frame
drivers/nvme/host/pci.o: warning: objtool: nvme_set_host_mem()+0x107: sibling call from callable instruction with modified stack frame
drivers/nvme/host/pci.o: warning: objtool: nvme_alloc_sq_cmds()+0xa1: sibling call from callable instruction with modified stack frame
drivers/nvme/host/pci.o: warning: objtool: nvme_free_iod()+0x1e9: sibling call from callable instruction with modified stack frame
drivers/nvme/host/pci.o: warning: objtool: nvme_map_data()+0x2d1: sibling call from callable instruction with modified stack frame
drivers/nvme/host/pci.o: warning: objtool: nvme_timeout()+0x1b5: sibling call from callable instruction with modified stack frame
drivers/nvme/host/pci.o: warning: objtool: nvme_map_cmb()+0x14f: sibling call from callable instruction with modified stack frame
drivers/nvme/host/pci.o: warning: objtool: nvme_create_queue()+0xbe: sibling call from callable instruction with modified stack frame
drivers/nvme/host/pci.o: warning: objtool: nvme_setup_io_queues()+0x63d: sibling call from callable instruction with modified stack frame
vim +/nvme_dev_pm_ops +2705 drivers/nvme/host/pci.c
2704
> 2705 const struct dev_pm_ops nvme_dev_pm_ops = {
2706 .suspend = nvme_suspend,
2707 .resume = nvme_resume,
2708 .freeze = nvme_simple_suspend,
2709 .thaw = nvme_simple_resume,
2710 .poweroff = nvme_simple_suspend,
2711 .restore = nvme_simple_resume,
2712 };
2713
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 3+ messages in thread
* [jsarha:topic/chromeos-4.19-s0ix 7573/9999] drivers/nvme/host/pci.c:2705:25: sparse: sparse: symbol 'nvme_dev_pm_ops' was not declared. Should it be static?
@ 2022-04-11 19:25 kernel test robot
0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-04-11 19:25 UTC (permalink / raw)
To: Keith Busch; +Cc: kbuild-all, linux-kernel, Rajat Jain, Gwendal Grignou
tree: https://github.com/jsarha/linux topic/chromeos-4.19-s0ix
head: 430bdaa0a8c38697780f45a148964d71951df11f
commit: bc7304877066a781782a7b43ea0ed2edcc767637 [7573/9999] BACKPORT: FROMGIT: nvme-pci: Use host managed power state for suspend
config: i386-randconfig-s001-20220411 (https://download.01.org/0day-ci/archive/20220412/202204120348.5EvqQlqc-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.4-dirty
# https://github.com/jsarha/linux/commit/bc7304877066a781782a7b43ea0ed2edcc767637
git remote add jsarha https://github.com/jsarha/linux
git fetch --no-tags jsarha topic/chromeos-4.19-s0ix
git checkout bc7304877066a781782a7b43ea0ed2edcc767637
# save the config file to linux build tree
mkdir build_dir
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=i386 SHELL=/bin/bash drivers/nvme/host/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/nvme/host/pci.c:2705:25: sparse: sparse: symbol 'nvme_dev_pm_ops' was not declared. Should it be static?
drivers/nvme/host/pci.c:1263: warning: Function parameter or member 'nvmeq' not described in 'nvme_suspend_queue'
Please review and possibly fold the followup patch.
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-04-19 1:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-04 10:49 [jsarha:topic/chromeos-4.19-s0ix 7573/9999] drivers/nvme/host/pci.c:2705:25: sparse: sparse: symbol 'nvme_dev_pm_ops' was not declared. Should it be static? kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2024-04-19 1:02 kernel test robot
2022-04-11 19:25 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.