From: kernel test robot <lkp@intel.com>
To: Jarkko Sakkinen <jarkko@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jarkko-tpmdd:master 8/10] drivers/char/tpm/tpm_tis_i2c.c:322:61: error: use of undeclared identifier 'tpm_tis_resume'
Date: Sat, 12 Sep 2026 13:48:04 +0200 [thread overview]
Message-ID: <202609121338.qo2mQWRl-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git master
head: b5f1b25b21f56c9fff87ad0235791883d1bf01a9
commit: 2249200ee4202c7596b612360e0e201a5fef0064 [8/10] tpm: use DEFINE_SIMPLE_DEV_PM_OPS and pm_sleep_ptr()
config: i386-randconfig-053-20260912 (https://download.01.org/0day-ci/archive/20260912/202609121338.qo2mQWRl-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260912/202609121338.qo2mQWRl-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/202609121338.qo2mQWRl-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/char/tpm/tpm_tis_i2c.c:322:61: error: use of undeclared identifier 'tpm_tis_resume'
322 | static DEFINE_SIMPLE_DEV_PM_OPS(tpm_tis_pm, tpm_pm_suspend, tpm_tis_resume);
| ^~~~~~~~~~~~~~
>> drivers/char/tpm/tpm_tis_i2c.c:322:61: error: use of undeclared identifier 'tpm_tis_resume'
322 | static DEFINE_SIMPLE_DEV_PM_OPS(tpm_tis_pm, tpm_pm_suspend, tpm_tis_resume);
| ^~~~~~~~~~~~~~
>> drivers/char/tpm/tpm_tis_i2c.c:322:61: error: use of undeclared identifier 'tpm_tis_resume'
322 | static DEFINE_SIMPLE_DEV_PM_OPS(tpm_tis_pm, tpm_pm_suspend, tpm_tis_resume);
| ^~~~~~~~~~~~~~
3 errors generated.
--
>> drivers/char/tpm/tpm_infineon.c:615:61: error: use of undeclared identifier 'tpm_inf_resume'; did you mean 'tpm_pm_resume'?
615 | static DEFINE_SIMPLE_DEV_PM_OPS(tpm_inf_pm, tpm_pm_suspend, tpm_inf_resume);
| ^~~~~~~~~~~~~~
| tpm_pm_resume
include/linux/pm.h:417:39: note: expanded from macro 'DEFINE_SIMPLE_DEV_PM_OPS'
417 | _DEFINE_DEV_PM_OPS(name, suspend_fn, resume_fn, NULL, NULL, NULL)
| ^~~~~~~~~
include/linux/pm.h:375:34: note: expanded from macro '_DEFINE_DEV_PM_OPS'
375 | SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
| ^~~~~~~~~
include/linux/pm.h:316:25: note: expanded from macro 'SYSTEM_SLEEP_PM_OPS'
316 | .resume = pm_sleep_ptr(resume_fn), \
| ^~~~~~~~~
include/linux/pm.h:474:65: note: expanded from macro 'pm_sleep_ptr'
474 | #define pm_sleep_ptr(_ptr) PTR_IF(IS_ENABLED(CONFIG_PM_SLEEP), (_ptr))
| ^~~~
include/linux/util_macros.h:136:38: note: expanded from macro 'PTR_IF'
136 | #define PTR_IF(cond, ptr) ((cond) ? (ptr) : NULL)
| ^~~
drivers/char/tpm/tpm.h:79:5: note: 'tpm_pm_resume' declared here
79 | int tpm_pm_resume(struct device *dev);
| ^
>> drivers/char/tpm/tpm_infineon.c:615:61: error: use of undeclared identifier 'tpm_inf_resume'; did you mean 'tpm_pm_resume'?
615 | static DEFINE_SIMPLE_DEV_PM_OPS(tpm_inf_pm, tpm_pm_suspend, tpm_inf_resume);
| ^~~~~~~~~~~~~~
| tpm_pm_resume
include/linux/pm.h:417:39: note: expanded from macro 'DEFINE_SIMPLE_DEV_PM_OPS'
417 | _DEFINE_DEV_PM_OPS(name, suspend_fn, resume_fn, NULL, NULL, NULL)
| ^~~~~~~~~
include/linux/pm.h:375:34: note: expanded from macro '_DEFINE_DEV_PM_OPS'
375 | SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
| ^~~~~~~~~
include/linux/pm.h:318:23: note: expanded from macro 'SYSTEM_SLEEP_PM_OPS'
318 | .thaw = pm_sleep_ptr(resume_fn), \
| ^~~~~~~~~
include/linux/pm.h:474:65: note: expanded from macro 'pm_sleep_ptr'
474 | #define pm_sleep_ptr(_ptr) PTR_IF(IS_ENABLED(CONFIG_PM_SLEEP), (_ptr))
| ^~~~
include/linux/util_macros.h:136:38: note: expanded from macro 'PTR_IF'
136 | #define PTR_IF(cond, ptr) ((cond) ? (ptr) : NULL)
| ^~~
drivers/char/tpm/tpm.h:79:5: note: 'tpm_pm_resume' declared here
79 | int tpm_pm_resume(struct device *dev);
| ^
>> drivers/char/tpm/tpm_infineon.c:615:61: error: use of undeclared identifier 'tpm_inf_resume'; did you mean 'tpm_pm_resume'?
615 | static DEFINE_SIMPLE_DEV_PM_OPS(tpm_inf_pm, tpm_pm_suspend, tpm_inf_resume);
| ^~~~~~~~~~~~~~
| tpm_pm_resume
include/linux/pm.h:417:39: note: expanded from macro 'DEFINE_SIMPLE_DEV_PM_OPS'
417 | _DEFINE_DEV_PM_OPS(name, suspend_fn, resume_fn, NULL, NULL, NULL)
| ^~~~~~~~~
include/linux/pm.h:375:34: note: expanded from macro '_DEFINE_DEV_PM_OPS'
375 | SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \
| ^~~~~~~~~
include/linux/pm.h:320:26: note: expanded from macro 'SYSTEM_SLEEP_PM_OPS'
320 | .restore = pm_sleep_ptr(resume_fn),
| ^~~~~~~~~
include/linux/pm.h:474:65: note: expanded from macro 'pm_sleep_ptr'
474 | #define pm_sleep_ptr(_ptr) PTR_IF(IS_ENABLED(CONFIG_PM_SLEEP), (_ptr))
| ^~~~
include/linux/util_macros.h:136:38: note: expanded from macro 'PTR_IF'
136 | #define PTR_IF(cond, ptr) ((cond) ? (ptr) : NULL)
| ^~~
drivers/char/tpm/tpm.h:79:5: note: 'tpm_pm_resume' declared here
79 | int tpm_pm_resume(struct device *dev);
| ^
3 errors generated.
vim +/tpm_tis_resume +322 drivers/char/tpm/tpm_tis_i2c.c
321
> 322 static DEFINE_SIMPLE_DEV_PM_OPS(tpm_tis_pm, tpm_pm_suspend, tpm_tis_resume);
323
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-09-12 11:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202609121338.qo2mQWRl-lkp@intel.com \
--to=lkp@intel.com \
--cc=jarkko@kernel.org \
--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.