[arm:csi-v6 3/7] drivers/media/platform/video-mux.c:172:10: error: 'const struct v4l2_subdev_video_ops' has no member named 'g_frame_interval'
kernel test robot
lkp at intel.com
Thu Oct 2 14:44:49 PDT 2025
tree: git://git.armlinux.org.uk/~rmk/linux-arm.git csi-v6
head: 9afab5ec0a06e2fc9c2cb2b739bc6caececf815a
commit: 4d73fea00b5748e8b6fb7363f4fefa75bc998932 [3/7] media: staging/imx: add frame intervals back in
config: csky-randconfig-001-20251003 (https://download.01.org/0day-ci/archive/20251003/202510030540.zCd32Zmk-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251003/202510030540.zCd32Zmk-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510030540.zCd32Zmk-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/media/platform/video-mux.c:172:10: error: 'const struct v4l2_subdev_video_ops' has no member named 'g_frame_interval'
172 | .g_frame_interval = vidsw_g_frame_interval,
| ^~~~~~~~~~~~~~~~
>> drivers/media/platform/video-mux.c:172:29: error: initialization of 'int (*)(struct v4l2_subdev *, void *, unsigned int *)' from incompatible pointer type 'int (*)(struct v4l2_subdev *, struct v4l2_subdev_frame_interval *)' [-Wincompatible-pointer-types]
172 | .g_frame_interval = vidsw_g_frame_interval,
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/video-mux.c:172:29: note: (near initialization for 'video_mux_subdev_video_ops.s_rx_buffer')
drivers/media/platform/video-mux.c:145:12: note: 'vidsw_g_frame_interval' declared here
145 | static int vidsw_g_frame_interval(struct v4l2_subdev *sd,
| ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/media/platform/video-mux.c:173:10: error: 'const struct v4l2_subdev_video_ops' has no member named 's_frame_interval'
173 | .s_frame_interval = vidsw_s_frame_interval,
| ^~~~~~~~~~~~~~~~
>> drivers/media/platform/video-mux.c:173:29: error: initialization of 'int (*)(struct v4l2_subdev *, u32)' {aka 'int (*)(struct v4l2_subdev *, unsigned int)'} from incompatible pointer type 'int (*)(struct v4l2_subdev *, struct v4l2_subdev_frame_interval *)' [-Wincompatible-pointer-types]
173 | .s_frame_interval = vidsw_s_frame_interval,
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/video-mux.c:173:29: note: (near initialization for 'video_mux_subdev_video_ops.pre_streamon')
drivers/media/platform/video-mux.c:155:12: note: 'vidsw_s_frame_interval' declared here
155 | static int vidsw_s_frame_interval(struct v4l2_subdev *sd,
| ^~~~~~~~~~~~~~~~~~~~~~
vim +172 drivers/media/platform/video-mux.c
169
170 static const struct v4l2_subdev_video_ops video_mux_subdev_video_ops = {
171 .s_stream = video_mux_s_stream,
> 172 .g_frame_interval = vidsw_g_frame_interval,
> 173 .s_frame_interval = vidsw_s_frame_interval,
174 };
175
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-arm-kernel
mailing list