Linux Media Controller development
 help / color / mirror / Atom feed
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,
	Frank Li <Frank.Li@nxp.com>
Subject: [sailus-media-tree:metadata 79/169] drivers/media/platform/nxp/imx95-csi-formatter.c:527:35: 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 (*)(stru...
Date: Mon, 14 Sep 2026 03:13:06 +0800	[thread overview]
Message-ID: <202609140333.smSZmqE0-lkp@intel.com> (raw)

tree:   git://linuxtv.org/sailus/media_tree.git metadata
head:   357c2e168b861a3df80c68a9c44de9c9c282ec46
commit: cd854e06923fe7a8c466ef89a0308bcab2adf45e [79/169] media: v4l2-subdev: Add struct v4l2_subdev_client_info pointer to pad ops
config: sh-randconfig-r111-20260913 (https://download.01.org/0day-ci/archive/20260914/202609140333.smSZmqE0-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 11.5.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260914/202609140333.smSZmqE0-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/202609140333.smSZmqE0-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/media/platform/nxp/imx95-csi-formatter.c:527:35: 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 *)' [-Werror=incompatible-pointer-types]
     527 |         .set_fmt                = csi_formatter_subdev_set_fmt,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/nxp/imx95-csi-formatter.c:527:35: note: (near initialization for 'formatter_subdev_pad_ops.set_fmt')
   cc1: some warnings being treated as errors


vim +527 drivers/media/platform/nxp/imx95-csi-formatter.c

3652add7e9b01d Guoniu Zhou 2026-07-28  523  
3652add7e9b01d Guoniu Zhou 2026-07-28  524  static const struct v4l2_subdev_pad_ops formatter_subdev_pad_ops = {
3652add7e9b01d Guoniu Zhou 2026-07-28  525  	.enum_mbus_code		= csi_formatter_subdev_enum_mbus_code,
3652add7e9b01d Guoniu Zhou 2026-07-28  526  	.get_fmt		= v4l2_subdev_get_fmt,
3652add7e9b01d Guoniu Zhou 2026-07-28 @527  	.set_fmt		= csi_formatter_subdev_set_fmt,
3652add7e9b01d Guoniu Zhou 2026-07-28  528  	.get_frame_desc		= v4l2_subdev_get_frame_desc_passthrough,
3652add7e9b01d Guoniu Zhou 2026-07-28  529  	.set_routing		= csi_formatter_subdev_set_routing,
3652add7e9b01d Guoniu Zhou 2026-07-28  530  	.enable_streams		= csi_formatter_subdev_enable_streams,
3652add7e9b01d Guoniu Zhou 2026-07-28  531  	.disable_streams	= csi_formatter_subdev_disable_streams,
3652add7e9b01d Guoniu Zhou 2026-07-28  532  };
3652add7e9b01d Guoniu Zhou 2026-07-28  533  

:::::: The code at line 527 was first introduced by commit
:::::: 3652add7e9b01d6ea4d3d4ff3ade8f60084867f6 media: nxp: Add i.MX95 CSI pixel formatter v4l2 driver

:::::: TO: Guoniu Zhou <guoniu.zhou@nxp.com>
:::::: CC: Hans Verkuil <hverkuil+cisco@kernel.org>

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

                 reply	other threads:[~2026-09-13 19:13 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=202609140333.smSZmqE0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Frank.Li@nxp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox