tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
pending-4.19
head: 7a22a15b233112e0df833d0bc9b0b99cc0c226ba
commit: d11e537f3222e51269fd973fafbdcc69d47394f0 [145/319] media: sh_vou: fix
pm_runtime_get_sync() usage count
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-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/c...
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 pending-4.19
git checkout d11e537f3222e51269fd973fafbdcc69d47394f0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/media/platform/sh_vou.c: In function 'sh_vou_open':
> drivers/media/platform/sh_vou.c:1147:9: error: implicit
declaration of function 'pm_runtime_resume_and_get'; did you mean
'pm_runtime_resume'? [-Werror=implicit-function-declaration]
1147 |
err = pm_runtime_resume_and_get(vou_dev->v4l2_dev.dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| pm_runtime_resume
cc1: some warnings being treated as errors
vim +1147 drivers/media/platform/sh_vou.c
1131
1132 /* File operations */
1133 static int sh_vou_open(struct file *file)
1134 {
1135 struct sh_vou_device *vou_dev = video_drvdata(file);
1136 int err;
1137
1138 if (mutex_lock_interruptible(&vou_dev->fop_lock))
1139 return -ERESTARTSYS;
1140
1141 err = v4l2_fh_open(file);
1142 if (err)
1143 goto done_open;
1144 if (v4l2_fh_is_singular_file(file) &&
1145 vou_dev->status == SH_VOU_INITIALISING) {
1146 /* First open */
1147 err = pm_runtime_resume_and_get(vou_dev->v4l2_dev.dev);
1148 if (err < 0) {
1149 v4l2_fh_release(file);
1150 goto done_open;
1151 }
1152 err = sh_vou_hw_init(vou_dev);
1153 if (err < 0) {
1154 pm_runtime_put(vou_dev->v4l2_dev.dev);
1155 v4l2_fh_release(file);
1156 } else {
1157 vou_dev->status = SH_VOU_IDLE;
1158 }
1159 }
1160 done_open:
1161 mutex_unlock(&vou_dev->fop_lock);
1162 return err;
1163 }
1164
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org