* [sashal-linux-stable:queue-4.19 41/414] drivers/crypto/omap-aes.c:110:8: error: implicit declaration of function 'pm_runtime_resume_and_get'; did you mean 'pm_runtime_resume'?
@ 2021-05-19 21:40 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-19 21:40 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2226 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-4.19
head: e431cb8cb5591721c9b1d3e08f516232dd1da24a
commit: fcbca6a2c28ee42eddebc44e1aea46f533d5ee65 [41/414] crypto: omap-aes - Fix PM reference leak on omap-aes.c
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/commit/?id=fcbca6a2c28ee42eddebc44e1aea46f533d5ee65
git remote add sashal-linux-stable https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-4.19
git checkout fcbca6a2c28ee42eddebc44e1aea46f533d5ee65
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/crypto/omap-aes.c: In function 'omap_aes_hw_init':
>> drivers/crypto/omap-aes.c:110:8: error: implicit declaration of function 'pm_runtime_resume_and_get'; did you mean 'pm_runtime_resume'? [-Werror=implicit-function-declaration]
110 | err = pm_runtime_resume_and_get(dd->dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| pm_runtime_resume
cc1: some warnings being treated as errors
vim +110 drivers/crypto/omap-aes.c
100
101 static int omap_aes_hw_init(struct omap_aes_dev *dd)
102 {
103 int err;
104
105 if (!(dd->flags & FLAGS_INIT)) {
106 dd->flags |= FLAGS_INIT;
107 dd->err = 0;
108 }
109
> 110 err = pm_runtime_resume_and_get(dd->dev);
111 if (err < 0) {
112 dev_err(dd->dev, "failed to get sync: %d\n", err);
113 return err;
114 }
115
116 return 0;
117 }
118
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 66655 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-19 21:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 21:40 [sashal-linux-stable:queue-4.19 41/414] drivers/crypto/omap-aes.c:110:8: error: implicit declaration of function 'pm_runtime_resume_and_get'; did you mean 'pm_runtime_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.