All of lore.kernel.org
 help / color / mirror / Atom feed
* [sailus-media-tree:test 19/20] drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c:265:10: error: 'const struct v4l2_subdev_pad_ops' has no member named 'init_cfg'
@ 2023-11-26 23:32 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-26 23:32 UTC (permalink / raw)
  To: Laurent Pinchart; +Cc: oe-kbuild-all, linux-media, Sakari Ailus

tree:   git://linuxtv.org/sailus/media_tree.git test
head:   1c12986c58defb1d262ac0fa851066fc724e617e
commit: 4c7fd566e013fd0ec5cfc3243b63bf2804c4e9fe [19/20] media: v4l2-subdev: Rename .init_cfg() operation to .init_state()
config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20231127/202311270523.oY7F5QcG-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231127/202311270523.oY7F5QcG-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/202311270523.oY7F5QcG-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c:265:10: error: 'const struct v4l2_subdev_pad_ops' has no member named 'init_cfg'
     265 |         .init_cfg               = dcmipp_par_init_cfg,
         |          ^~~~~~~~
>> drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c:265:35: error: initialization of 'int (*)(struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_mbus_code_enum *)' from incompatible pointer type 'int (*)(struct v4l2_subdev *, struct v4l2_subdev_state *)' [-Werror=incompatible-pointer-types]
     265 |         .init_cfg               = dcmipp_par_init_cfg,
         |                                   ^~~~~~~~~~~~~~~~~~~
   drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c:265:35: note: (near initialization for 'dcmipp_par_pad_ops.enum_mbus_code')
   drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c:266:35: warning: initialized field overwritten [-Woverride-init]
     266 |         .enum_mbus_code         = dcmipp_par_enum_mbus_code,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c:266:35: note: (near initialization for 'dcmipp_par_pad_ops.enum_mbus_code')
   cc1: some warnings being treated as errors
--
>> drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:386:10: error: 'const struct v4l2_subdev_pad_ops' has no member named 'init_cfg'
     386 |         .init_cfg               = dcmipp_byteproc_init_cfg,
         |          ^~~~~~~~
>> drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:386:35: error: initialization of 'int (*)(struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_mbus_code_enum *)' from incompatible pointer type 'int (*)(struct v4l2_subdev *, struct v4l2_subdev_state *)' [-Werror=incompatible-pointer-types]
     386 |         .init_cfg               = dcmipp_byteproc_init_cfg,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:386:35: note: (near initialization for 'dcmipp_byteproc_pad_ops.enum_mbus_code')
   drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:387:35: warning: initialized field overwritten [-Woverride-init]
     387 |         .enum_mbus_code         = dcmipp_byteproc_enum_mbus_code,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c:387:35: note: (near initialization for 'dcmipp_byteproc_pad_ops.enum_mbus_code')
   cc1: some warnings being treated as errors


vim +265 drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c

634e86dc5acd3b Hugues Fruchet 2023-11-22  263  
634e86dc5acd3b Hugues Fruchet 2023-11-22  264  static const struct v4l2_subdev_pad_ops dcmipp_par_pad_ops = {
634e86dc5acd3b Hugues Fruchet 2023-11-22 @265  	.init_cfg		= dcmipp_par_init_cfg,
634e86dc5acd3b Hugues Fruchet 2023-11-22  266  	.enum_mbus_code		= dcmipp_par_enum_mbus_code,
634e86dc5acd3b Hugues Fruchet 2023-11-22  267  	.enum_frame_size	= dcmipp_par_enum_frame_size,
634e86dc5acd3b Hugues Fruchet 2023-11-22  268  	.get_fmt		= v4l2_subdev_get_fmt,
634e86dc5acd3b Hugues Fruchet 2023-11-22  269  	.set_fmt		= dcmipp_par_set_fmt,
634e86dc5acd3b Hugues Fruchet 2023-11-22  270  };
634e86dc5acd3b Hugues Fruchet 2023-11-22  271  

:::::: The code at line 265 was first introduced by commit
:::::: 634e86dc5acd3bf25891b31a44dc128bdb9a3403 media: stm32-dcmipp: STM32 DCMIPP camera interface driver

:::::: TO: Hugues Fruchet <hugues.fruchet@foss.st.com>
:::::: CC: Sakari Ailus <sakari.ailus@linux.intel.com>

-- 
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:[~2023-11-26 23:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-26 23:32 [sailus-media-tree:test 19/20] drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-parallel.c:265:10: error: 'const struct v4l2_subdev_pad_ops' has no member named 'init_cfg' kernel test robot

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.