public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [sailus-media-tree:metadata 51/88] drivers/media/i2c/ov2740.c:1301:26: error: initialization of 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' from incompatible pointer type 'int (*)(struct v4l2_subdev *, ...
@ 2026-02-06 18:35 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-02-06 18:35 UTC (permalink / raw)
  To: Sakari Ailus; +Cc: oe-kbuild-all, linux-media

tree:   git://linuxtv.org/sailus/media_tree.git metadata
head:   17d48829c902c064710e9518b453bd252674ae5e
commit: bd8706aed5a5e6b8d7c0fcc9dbbdc5896b6684a4 [51/88] media: ov2740: Add support for G_SELECTION IOCTL
config: i386-buildonly-randconfig-001-20260207 (https://download.01.org/0day-ci/archive/20260207/202602070234.rlTGLzL7-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260207/202602070234.rlTGLzL7-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/202602070234.rlTGLzL7-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/media/i2c/ov2740.c:1301:26: error: initialization of 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' from incompatible pointer type 'int (*)(struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' [-Wincompatible-pointer-types]
    1301 |         .get_selection = ov2740_get_selection,
         |                          ^~~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/ov2740.c:1301:26: note: (near initialization for 'ov2740_pad_ops.get_selection')


vim +1301 drivers/media/i2c/ov2740.c

  1297	
  1298	static const struct v4l2_subdev_pad_ops ov2740_pad_ops = {
  1299		.get_fmt = v4l2_subdev_get_fmt,
  1300		.set_fmt = ov2740_set_format,
> 1301		.get_selection = ov2740_get_selection,
  1302		.enum_mbus_code = ov2740_enum_mbus_code,
  1303		.enum_frame_size = ov2740_enum_frame_size,
  1304		.enable_streams = ov2740_enable_streams,
  1305		.disable_streams = ov2740_disable_streams,
  1306		.get_frame_desc = ov2740_get_frame_desc,
  1307	};
  1308	

-- 
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-02-06 18:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-06 18:35 [sailus-media-tree:metadata 51/88] drivers/media/i2c/ov2740.c:1301:26: error: initialization of 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' from incompatible pointer type 'int (*)(struct v4l2_subdev *, kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox