Linux Media Controller development
 help / color / mirror / Atom feed
* [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...
@ 2026-09-13 19:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-09-13 19:13 UTC (permalink / raw)
  To: Sakari Ailus; +Cc: oe-kbuild-all, linux-media, Frank Li

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-13 19:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-13 19:13 [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 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