From: kernel test robot <lkp@intel.com>
To: Lukas Wunner <lukas@wunner.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [l1k:tsm_d0 1/1] drivers/pci/tsm.c:898:9: error: implicit declaration of function 'PM_RUNTIME_ACQUIRE'
Date: Sat, 13 Jun 2026 00:26:55 +0200 [thread overview]
Message-ID: <202606130037.MA3k7IPJ-lkp@intel.com> (raw)
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
next reply other threads:[~2026-06-12 22:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-12 22:26 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-06-12 19:57 [l1k:tsm_d0 1/1] drivers/pci/tsm.c:898:9: error: implicit declaration of function 'PM_RUNTIME_ACQUIRE' kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202606130037.MA3k7IPJ-lkp@intel.com \
--to=lkp@intel.com \
--cc=lukas@wunner.de \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.