* [jarkko-tpmdd:master 8/10] drivers/char/tpm/tpm_tis_i2c.c:322:61: error: use of undeclared identifier 'tpm_tis_resume'
@ 2026-09-12 11:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-12 11:48 UTC (permalink / raw)
To: Jarkko Sakkinen; +Cc: oe-kbuild-all
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-12 11:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-12 11:48 [jarkko-tpmdd:master 8/10] drivers/char/tpm/tpm_tis_i2c.c:322:61: error: use of undeclared identifier 'tpm_tis_resume' 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.