All of lore.kernel.org
 help / color / mirror / Atom feed
* [l1k:tsm_d0 1/1] drivers/pci/tsm.c:898:9: error: implicit declaration of function 'PM_RUNTIME_ACQUIRE'
@ 2026-06-12 19:57 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-06-12 19:57 UTC (permalink / raw)
  To: Lukas Wunner; +Cc: oe-kbuild-all

tree:   https://github.com/l1k/linux tsm_d0
head:   1b171c8bdd4577ceb504cb77b4a6b51f98436722
commit: 1b171c8bdd4577ceb504cb77b4a6b51f98436722 [1/1] PCI/TSM: Resume device to D0 for CMA-SPDM operation
config: csky-allmodconfig (https://download.01.org/0day-ci/archive/20260613/202606130304.iOT1SrkW-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606130304.iOT1SrkW-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/202606130304.iOT1SrkW-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/pci/tsm.c: In function 'pci_tsm_doe_transfer':
>> drivers/pci/tsm.c:898:9: error: implicit declaration of function 'PM_RUNTIME_ACQUIRE' [-Wimplicit-function-declaration]
     898 |         PM_RUNTIME_ACQUIRE(&pdev->dev, pm);
         |         ^~~~~~~~~~~~~~~~~~
>> drivers/pci/tsm.c:898:40: error: 'pm' undeclared (first use in this function); did you mean 'tm'?
     898 |         PM_RUNTIME_ACQUIRE(&pdev->dev, pm);
         |                                        ^~
         |                                        tm
   drivers/pci/tsm.c:898:40: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/pci/tsm.c:899:18: error: implicit declaration of function 'PM_RUNTIME_ACQUIRE_ERR' [-Wimplicit-function-declaration]
     899 |         if (rc = PM_RUNTIME_ACQUIRE_ERR(&pm))
         |                  ^~~~~~~~~~~~~~~~~~~~~~


vim +/PM_RUNTIME_ACQUIRE +898 drivers/pci/tsm.c

   884	
   885	int pci_tsm_doe_transfer(struct pci_dev *pdev, u8 type, const void *req,
   886				 size_t req_sz, void *resp, size_t resp_sz)
   887	{
   888		struct pci_tsm_pf0 *tsm;
   889		int rc;
   890	
   891		if (!pdev->tsm || !is_pci_tsm_pf0(pdev))
   892			return -ENXIO;
   893	
   894		tsm = to_pci_tsm_pf0(pdev->tsm);
   895		if (!tsm->doe_mb)
   896			return -ENXIO;
   897	
 > 898		PM_RUNTIME_ACQUIRE(&pdev->dev, pm);
 > 899		if (rc = PM_RUNTIME_ACQUIRE_ERR(&pm))

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

* [l1k:tsm_d0 1/1] drivers/pci/tsm.c:898:9: error: implicit declaration of function 'PM_RUNTIME_ACQUIRE'
@ 2026-06-12 22:26 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-06-12 22:26 UTC (permalink / raw)
  To: Lukas Wunner; +Cc: oe-kbuild-all

tree:   https://github.com/l1k/linux tsm_d0
head:   1b171c8bdd4577ceb504cb77b4a6b51f98436722
commit: 1b171c8bdd4577ceb504cb77b4a6b51f98436722 [1/1] PCI/TSM: Resume device to D0 for CMA-SPDM operation
config: x86_64-rhel-9.4 (https://download.01.org/0day-ci/archive/20260613/202606130037.MA3k7IPJ-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260613/202606130037.MA3k7IPJ-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/202606130037.MA3k7IPJ-lkp@intel.com/

All errors (new ones prefixed by >>):

   drivers/pci/tsm.c: In function 'pci_tsm_doe_transfer':
>> drivers/pci/tsm.c:898:9: error: implicit declaration of function 'PM_RUNTIME_ACQUIRE' [-Wimplicit-function-declaration]
     898 |         PM_RUNTIME_ACQUIRE(&pdev->dev, pm);
         |         ^~~~~~~~~~~~~~~~~~
>> drivers/pci/tsm.c:898:40: error: 'pm' undeclared (first use in this function); did you mean 'tm'?
     898 |         PM_RUNTIME_ACQUIRE(&pdev->dev, pm);
         |                                        ^~
         |                                        tm
   drivers/pci/tsm.c:898:40: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/pci/tsm.c:899:18: error: implicit declaration of function 'PM_RUNTIME_ACQUIRE_ERR' [-Wimplicit-function-declaration]
     899 |         if (rc = PM_RUNTIME_ACQUIRE_ERR(&pm))
         |                  ^~~~~~~~~~~~~~~~~~~~~~
--
   drivers/crypto/ccp/sev-dev-tsm.c: In function 'sev_tio_spdm_cmd':
>> drivers/crypto/ccp/sev-dev-tsm.c:42:9: error: implicit declaration of function 'PM_RUNTIME_ACQUIRE' [-Wimplicit-function-declaration]
      42 |         PM_RUNTIME_ACQUIRE(dsm->tsm.base_tsm.pdev, pm);
         |         ^~~~~~~~~~~~~~~~~~
>> drivers/crypto/ccp/sev-dev-tsm.c:42:52: error: 'pm' undeclared (first use in this function); did you mean 'tm'?
      42 |         PM_RUNTIME_ACQUIRE(dsm->tsm.base_tsm.pdev, pm);
         |                                                    ^~
         |                                                    tm
   drivers/crypto/ccp/sev-dev-tsm.c:42:52: note: each undeclared identifier is reported only once for each function it appears in
>> drivers/crypto/ccp/sev-dev-tsm.c:43:22: error: implicit declaration of function 'PM_RUNTIME_ACQUIRE_ERR' [-Wimplicit-function-declaration]
      43 |         if (pm_ret = PM_RUNTIME_ACQUIRE_ERR(&pm))
         |                      ^~~~~~~~~~~~~~~~~~~~~~


vim +/PM_RUNTIME_ACQUIRE +898 drivers/pci/tsm.c

   884	
   885	int pci_tsm_doe_transfer(struct pci_dev *pdev, u8 type, const void *req,
   886				 size_t req_sz, void *resp, size_t resp_sz)
   887	{
   888		struct pci_tsm_pf0 *tsm;
   889		int rc;
   890	
   891		if (!pdev->tsm || !is_pci_tsm_pf0(pdev))
   892			return -ENXIO;
   893	
   894		tsm = to_pci_tsm_pf0(pdev->tsm);
   895		if (!tsm->doe_mb)
   896			return -ENXIO;
   897	
 > 898		PM_RUNTIME_ACQUIRE(&pdev->dev, pm);
 > 899		if (rc = PM_RUNTIME_ACQUIRE_ERR(&pm))

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

end of thread, other threads:[~2026-06-12 22:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-12 22:26 [l1k:tsm_d0 1/1] drivers/pci/tsm.c:898:9: error: implicit declaration of function 'PM_RUNTIME_ACQUIRE' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-06-12 19:57 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.