Re: [PATCH v2 4/6] media: uvcvideo: Increase/decrease the PM counter per IOCTL

From: kernel test robot
Date: Mon Feb 03 2025 - 18:58:53 EST


Hi Ricardo,

kernel test robot noticed the following build errors:

[auto build test ERROR on 2014c95afecee3e76ca4a56956a936e23283f05b]

url: https://github.com/intel-lab-lkp/linux/commits/Ricardo-Ribalda/media-uvcvideo-Keep-streaming-state-in-the-file-handle/20250203-203055
base: 2014c95afecee3e76ca4a56956a936e23283f05b
patch link: https://lore.kernel.org/r/20250203-uvc-granpower-ng-v2-4-bef4b55e7b67%40chromium.org
patch subject: [PATCH v2 4/6] media: uvcvideo: Increase/decrease the PM counter per IOCTL
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20250204/202502040757.Rn9RKQjR-lkp@xxxxxxxxx/config)
compiler: sh4-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250204/202502040757.Rn9RKQjR-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502040757.Rn9RKQjR-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/media/usb/uvc/uvc_v4l2.c:1530:27: error: 'uvc_v4l2_video_ioctl2' undeclared here (not in a function)
1530 | .unlocked_ioctl = uvc_v4l2_video_ioctl2,
| ^~~~~~~~~~~~~~~~~~~~~


vim +/uvc_v4l2_video_ioctl2 +1530 drivers/media/usb/uvc/uvc_v4l2.c

1525
1526 const struct v4l2_file_operations uvc_fops = {
1527 .owner = THIS_MODULE,
1528 .open = uvc_v4l2_open,
1529 .release = uvc_v4l2_release,
> 1530 .unlocked_ioctl = uvc_v4l2_video_ioctl2,

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki