Linux Media Controller development
 help / color / mirror / Atom feed
* [sailus-media-tree:metadata 30/122] drivers/staging/media/max96712/max96712.c:267: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...
@ 2026-04-29  5:25 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-29  5:25 UTC (permalink / raw)
  To: Sakari Ailus; +Cc: oe-kbuild-all, linux-media

tree:   git://linuxtv.org/sailus/media_tree.git metadata
head:   489ab6e79288be8d219b68525a13699fde0248ae
commit: bdef7b84a4e74d1cef8cd5c1326c657cf4b86b3e [30/122] media: v4l2-subdev: Add struct v4l2_subdev_client_info pointer to pad ops
config: nios2-allmodconfig (https://download.01.org/0day-ci/archive/20260429/202604291336.ZjaAXBvo-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260429/202604291336.ZjaAXBvo-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/202604291336.ZjaAXBvo-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/staging/media/max96712/max96712.c:267: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 *)' [-Werror=incompatible-pointer-types]
     267 |         .set_fmt = v4l2_subdev_get_fmt,
         |                    ^~~~~~~~~~~~~~~~~~~
   drivers/staging/media/max96712/max96712.c:267:20: note: (near initialization for 'max96712_pad_ops.set_fmt')
   cc1: some warnings being treated as errors


vim +267 drivers/staging/media/max96712/max96712.c

ce44dc1feab5f0 Niklas Söderlund 2024-05-10  264  
5814f32fef137e Niklas Söderlund 2021-09-12  265  static const struct v4l2_subdev_pad_ops max96712_pad_ops = {
ce44dc1feab5f0 Niklas Söderlund 2024-05-10  266  	.get_fmt = v4l2_subdev_get_fmt,
ce44dc1feab5f0 Niklas Söderlund 2024-05-10 @267  	.set_fmt = v4l2_subdev_get_fmt,
5814f32fef137e Niklas Söderlund 2021-09-12  268  };
5814f32fef137e Niklas Söderlund 2021-09-12  269  

:::::: The code at line 267 was first introduced by commit
:::::: ce44dc1feab5f038edb39dc443b32eae3ac1234d media: staging: max96712: Store format in subdev active state

:::::: TO: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
:::::: CC: Hans Verkuil <hverkuil-cisco@xs4all.nl>

-- 
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-04-29  5:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-29  5:25 [sailus-media-tree:metadata 30/122] drivers/staging/media/max96712/max96712.c:267: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 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