Linux Media Controller development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Himanshu Bhavani <himanshu.bhavani@siliconsignals.io>
Cc: oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org,
	Sakari Ailus <sakari.ailus@linux.intel.com>
Subject: [sailus-media-tree:devel 26/26] drivers/media/i2c/imx576.c:738:20: error: initialization of 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' from incompatible pointer type 'int (*)(struct v4l2_subdev *, stru...
Date: Tue, 06 Oct 2026 10:39:33 +0800	[thread overview]
Message-ID: <202610061019.8ldzc0xf-lkp@intel.com> (raw)

tree:   git://linuxtv.org/sailus/media_tree.git devel
head:   d5ffd31776528da0ec4bc883afd056513773566b
commit: d5ffd31776528da0ec4bc883afd056513773566b [26/26] media: i2c: add imx576 image sensor driver
config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20261006/202610061019.8ldzc0xf-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261006/202610061019.8ldzc0xf-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/202610061019.8ldzc0xf-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/media/i2c/imx576.c:738:20: error: initialization of 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' from incompatible pointer type 'int (*)(struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-pointer-types]
     738 |         .set_fmt = imx576_set_pad_format,
         |                    ^~~~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/imx576.c:738:20: note: (near initialization for 'imx576_pad_ops.set_fmt')
   drivers/media/i2c/imx576.c:416:12: note: 'imx576_set_pad_format' declared here
     416 | static int imx576_set_pad_format(struct v4l2_subdev *sd,
         |            ^~~~~~~~~~~~~~~~~~~~~
>> drivers/media/i2c/imx576.c:739: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]
     739 |         .get_selection = imx576_get_selection,
         |                          ^~~~~~~~~~~~~~~~~~~~
   drivers/media/i2c/imx576.c:739:26: note: (near initialization for 'imx576_pad_ops.get_selection')
   drivers/media/i2c/imx576.c:453:12: note: 'imx576_get_selection' declared here
     453 | static int imx576_get_selection(struct v4l2_subdev *sd,
         |            ^~~~~~~~~~~~~~~~~~~~


vim +738 drivers/media/i2c/imx576.c

   733	
   734	static const struct v4l2_subdev_pad_ops imx576_pad_ops = {
   735		.enum_mbus_code = imx576_enum_mbus_code,
   736		.enum_frame_size = imx576_enum_frame_size,
   737		.get_fmt = v4l2_subdev_get_fmt,
 > 738		.set_fmt = imx576_set_pad_format,
 > 739		.get_selection = imx576_get_selection,
   740		.enable_streams = imx576_enable_streams,
   741		.disable_streams = imx576_disable_streams,
   742	};
   743	

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

                 reply	other threads:[~2026-10-06  2:40 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=202610061019.8ldzc0xf-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=himanshu.bhavani@siliconsignals.io \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox