From: kernel test robot <lkp@intel.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org
Subject: [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 *, ...
Date: Sat, 07 Feb 2026 02:35:28 +0800 [thread overview]
Message-ID: <202602070234.rlTGLzL7-lkp@intel.com> (raw)
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
reply other threads:[~2026-02-06 18:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202602070234.rlTGLzL7-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-media@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=sakari.ailus@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.