From: kernel test robot <lkp@intel.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
linux-media@vger.kernel.org
Subject: [sailus-media-tree:metadata 19/106] drivers/media/platform/renesas/vsp1/vsp1_rwpf.c:280:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expres...
Date: Fri, 20 Mar 2026 19:57:00 +0800 [thread overview]
Message-ID: <202603201906.5eCaoTIU-lkp@intel.com> (raw)
tree: git://linuxtv.org/sailus/media_tree.git metadata
head: 7a108073e0c1f6e9035329a152d5835f9d4f9507
commit: bdc96b4bd0deb40af6350382e510ddfa0850d656 [19/106] media: v4l2-subdev: Add struct v4l2_subdev_client_info pointer to pad ops
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260320/202603201906.5eCaoTIU-lkp@intel.com/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260320/202603201906.5eCaoTIU-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/202603201906.5eCaoTIU-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/media/platform/renesas/sh_vou.c:716:8: error: too few arguments to function call, expected 4, have 3
716 | ret = v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, pad,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
717 | set_fmt, NULL, &format);
| ~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-device.h:448:2: note: expanded from macro 'v4l2_device_call_until_err'
448 | __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
449 | (grpid) == 0 || __sd->grp_id == (grpid), o, f , \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
450 | ##args); \
| ~~~~~~~
include/media/v4l2-device.h:356:41: note: expanded from macro '__v4l2_device_call_subdevs_until_err_p'
356 | __err = (sd)->ops->o->f((sd) , ##args); \
| ~~~~~~~~~~~~~~~ ^
drivers/media/platform/renesas/sh_vou.c:976:2: error: too few arguments to function call, expected 4, have 3
976 | v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, pad,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
977 | set_selection, NULL, &sd_sel);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-device.h:448:2: note: expanded from macro 'v4l2_device_call_until_err'
448 | __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
449 | (grpid) == 0 || __sd->grp_id == (grpid), o, f , \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
450 | ##args); \
| ~~~~~~~
include/media/v4l2-device.h:356:41: note: expanded from macro '__v4l2_device_call_subdevs_until_err_p'
356 | __err = (sd)->ops->o->f((sd) , ##args); \
| ~~~~~~~~~~~~~~~ ^
drivers/media/platform/renesas/sh_vou.c:980:8: error: too few arguments to function call, expected 4, have 3
980 | ret = v4l2_device_call_until_err(&vou_dev->v4l2_dev, 0, pad,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
981 | set_fmt, NULL, &format);
| ~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-device.h:448:2: note: expanded from macro 'v4l2_device_call_until_err'
448 | __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
449 | (grpid) == 0 || __sd->grp_id == (grpid), o, f , \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
450 | ##args); \
| ~~~~~~~
include/media/v4l2-device.h:356:41: note: expanded from macro '__v4l2_device_call_subdevs_until_err_p'
356 | __err = (sd)->ops->o->f((sd) , ##args); \
| ~~~~~~~~~~~~~~~ ^
3 errors generated.
--
>> drivers/media/platform/renesas/rcar-vin/rcar-dma.c:1184:6: error: too few arguments to function call, expected 4, have 3
1184 | if (v4l2_subdev_call(sd, pad, get_fmt, NULL, &fmt))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1931:20: note: expanded from macro 'v4l2_subdev_call'
1930 | __result = v4l2_subdev_call_wrappers.o->f( \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1931 | __sd, ##args); \
| ^
>> drivers/media/platform/renesas/rcar-vin/rcar-dma.c:1184:6: error: too few arguments to function call, expected 4, have 3
1184 | if (v4l2_subdev_call(sd, pad, get_fmt, NULL, &fmt))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1933:43: note: expanded from macro 'v4l2_subdev_call'
1933 | __result = __sd->ops->o->f(__sd, ##args); \
| ~~~~~~~~~~~~~~~ ^
2 errors generated.
--
>> drivers/media/platform/st/stm32/stm32-dcmi.c:741:9: error: too few arguments to function call, expected 4, have 3
741 | ret = v4l2_subdev_call(subdev, pad, set_fmt, NULL, &fmt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1931:20: note: expanded from macro 'v4l2_subdev_call'
1930 | __result = v4l2_subdev_call_wrappers.o->f( \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1931 | __sd, ##args); \
| ^
>> drivers/media/platform/st/stm32/stm32-dcmi.c:741:9: error: too few arguments to function call, expected 4, have 3
741 | ret = v4l2_subdev_call(subdev, pad, set_fmt, NULL, &fmt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1933:43: note: expanded from macro 'v4l2_subdev_call'
1933 | __result = __sd->ops->o->f(__sd, ##args); \
| ~~~~~~~~~~~~~~~ ^
drivers/media/platform/st/stm32/stm32-dcmi.c:1066:8: error: too few arguments to function call, expected 4, have 3
1066 | ret = v4l2_subdev_call_state_try(dcmi->source, pad, set_fmt, &format);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1998:15: note: expanded from macro 'v4l2_subdev_call_state_try'
1998 | __result = v4l2_subdev_call(sd, o, f, state, ##args); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1931:20: note: expanded from macro 'v4l2_subdev_call'
1930 | __result = v4l2_subdev_call_wrappers.o->f( \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1931 | __sd, ##args); \
| ^
drivers/media/platform/st/stm32/stm32-dcmi.c:1066:8: error: too few arguments to function call, expected 4, have 3
1066 | ret = v4l2_subdev_call_state_try(dcmi->source, pad, set_fmt, &format);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1998:15: note: expanded from macro 'v4l2_subdev_call_state_try'
1998 | __result = v4l2_subdev_call(sd, o, f, state, ##args); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1933:43: note: expanded from macro 'v4l2_subdev_call'
1933 | __result = __sd->ops->o->f(__sd, ##args); \
| ~~~~~~~~~~~~~~~ ^
drivers/media/platform/st/stm32/stm32-dcmi.c:1199:8: error: too few arguments to function call, expected 4, have 3
1199 | ret = v4l2_subdev_call(dcmi->source, pad, get_fmt, NULL, &fmt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1931:20: note: expanded from macro 'v4l2_subdev_call'
1930 | __result = v4l2_subdev_call_wrappers.o->f( \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1931 | __sd, ##args); \
| ^
drivers/media/platform/st/stm32/stm32-dcmi.c:1199:8: error: too few arguments to function call, expected 4, have 3
1199 | ret = v4l2_subdev_call(dcmi->source, pad, get_fmt, NULL, &fmt);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1933:43: note: expanded from macro 'v4l2_subdev_call'
1933 | __result = __sd->ops->o->f(__sd, ##args); \
| ~~~~~~~~~~~~~~~ ^
drivers/media/platform/st/stm32/stm32-dcmi.c:1227:8: error: too few arguments to function call, expected 4, have 3
1227 | ret = v4l2_subdev_call_state_try(dcmi->source, pad, set_fmt, &format);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1998:15: note: expanded from macro 'v4l2_subdev_call_state_try'
1998 | __result = v4l2_subdev_call(sd, o, f, state, ##args); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1931:20: note: expanded from macro 'v4l2_subdev_call'
1930 | __result = v4l2_subdev_call_wrappers.o->f( \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1931 | __sd, ##args); \
| ^
drivers/media/platform/st/stm32/stm32-dcmi.c:1227:8: error: too few arguments to function call, expected 4, have 3
1227 | ret = v4l2_subdev_call_state_try(dcmi->source, pad, set_fmt, &format);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1998:15: note: expanded from macro 'v4l2_subdev_call_state_try'
1998 | __result = v4l2_subdev_call(sd, o, f, state, ##args); \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1933:43: note: expanded from macro 'v4l2_subdev_call'
1933 | __result = __sd->ops->o->f(__sd, ##args); \
| ~~~~~~~~~~~~~~~ ^
drivers/media/platform/st/stm32/stm32-dcmi.c:1249:8: error: too few arguments to function call, expected 4, have 3
1249 | ret = v4l2_subdev_call(dcmi->source, pad, get_selection,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1250 | NULL, &bounds);
| ~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1931:20: note: expanded from macro 'v4l2_subdev_call'
1930 | __result = v4l2_subdev_call_wrappers.o->f( \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1931 | __sd, ##args); \
| ^
drivers/media/platform/st/stm32/stm32-dcmi.c:1249:8: error: too few arguments to function call, expected 4, have 3
1249 | ret = v4l2_subdev_call(dcmi->source, pad, get_selection,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1250 | NULL, &bounds);
| ~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1933:43: note: expanded from macro 'v4l2_subdev_call'
1933 | __result = __sd->ops->o->f(__sd, ##args); \
| ~~~~~~~~~~~~~~~ ^
10 errors generated.
--
>> drivers/media/platform/ti/omap3isp/ispccdc.c:1160:7: error: too few arguments to function call, expected 4, have 3
1160 | if (!v4l2_subdev_call(sensor, pad, get_fmt, NULL, &fmt_src)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1931:20: note: expanded from macro 'v4l2_subdev_call'
1930 | __result = v4l2_subdev_call_wrappers.o->f( \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1931 | __sd, ##args); \
| ^
>> drivers/media/platform/ti/omap3isp/ispccdc.c:1160:7: error: too few arguments to function call, expected 4, have 3
1160 | if (!v4l2_subdev_call(sensor, pad, get_fmt, NULL, &fmt_src)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/media/v4l2-subdev.h:1933:43: note: expanded from macro 'v4l2_subdev_call'
1933 | __result = __sd->ops->o->f(__sd, ##args); \
| ~~~~~~~~~~~~~~~ ^
drivers/media/platform/ti/omap3isp/ispccdc.c:2496:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
2496 | .get_fmt = ccdc_get_format,
| ^~~~~~~~~~~~~~~
drivers/media/platform/ti/omap3isp/ispccdc.c:2497:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
2497 | .set_fmt = ccdc_set_format,
| ^~~~~~~~~~~~~~~
drivers/media/platform/ti/omap3isp/ispccdc.c:2498:19: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' [-Wincompatible-function-pointer-types]
2498 | .get_selection = ccdc_get_selection,
| ^~~~~~~~~~~~~~~~~~
drivers/media/platform/ti/omap3isp/ispccdc.c:2499:19: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' [-Wincompatible-function-pointer-types]
2499 | .set_selection = ccdc_set_selection,
| ^~~~~~~~~~~~~~~~~~
6 errors generated.
--
>> drivers/media/platform/renesas/vsp1/vsp1_rwpf.c:280:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
280 | .get_fmt = vsp1_subdev_get_pad_format,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/renesas/vsp1/vsp1_rwpf.c:281:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
281 | .set_fmt = vsp1_rwpf_set_format,
| ^~~~~~~~~~~~~~~~~~~~
drivers/media/platform/renesas/vsp1/vsp1_rwpf.c:282:19: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' [-Wincompatible-function-pointer-types]
282 | .get_selection = vsp1_rwpf_get_selection,
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/renesas/vsp1/vsp1_rwpf.c:283:19: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' [-Wincompatible-function-pointer-types]
283 | .set_selection = vsp1_rwpf_set_selection,
| ^~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
--
>> drivers/media/platform/renesas/vsp1/vsp1_clu.c:160:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
160 | .get_fmt = vsp1_subdev_get_pad_format,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/renesas/vsp1/vsp1_clu.c:161:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
161 | .set_fmt = clu_set_format,
| ^~~~~~~~~~~~~~
2 errors generated.
--
>> drivers/media/platform/renesas/vsp1/vsp1_hsit.c:126:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
126 | .get_fmt = vsp1_subdev_get_pad_format,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/renesas/vsp1/vsp1_hsit.c:127:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
127 | .set_fmt = hsit_set_format,
| ^~~~~~~~~~~~~~~
2 errors generated.
--
>> drivers/media/platform/renesas/vsp1/vsp1_lut.c:136:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
136 | .get_fmt = vsp1_subdev_get_pad_format,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/renesas/vsp1/vsp1_lut.c:137:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
137 | .set_fmt = lut_set_format,
| ^~~~~~~~~~~~~~
2 errors generated.
--
>> drivers/media/platform/renesas/vsp1/vsp1_brx.c:267:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
267 | .get_fmt = vsp1_subdev_get_pad_format,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/renesas/vsp1/vsp1_brx.c:268:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
268 | .set_fmt = brx_set_format,
| ^~~~~~~~~~~~~~
drivers/media/platform/renesas/vsp1/vsp1_brx.c:269:19: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' [-Wincompatible-function-pointer-types]
269 | .get_selection = brx_get_selection,
| ^~~~~~~~~~~~~~~~~
drivers/media/platform/renesas/vsp1/vsp1_brx.c:270:19: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_selection *)' [-Wincompatible-function-pointer-types]
270 | .set_selection = brx_set_selection,
| ^~~~~~~~~~~~~~~~~
4 errors generated.
--
>> drivers/media/platform/renesas/vsp1/vsp1_sru.c:262:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
262 | .get_fmt = vsp1_subdev_get_pad_format,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/renesas/vsp1/vsp1_sru.c:263:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
263 | .set_fmt = sru_set_format,
| ^~~~~~~~~~~~~~
2 errors generated.
--
>> drivers/media/platform/renesas/vsp1/vsp1_uds.c:249:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
249 | .get_fmt = vsp1_subdev_get_pad_format,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/platform/renesas/vsp1/vsp1_uds.c:250:13: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, const struct v4l2_subdev_client_info *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' with an expression of type 'int (struct v4l2_subdev *, struct v4l2_subdev_state *, struct v4l2_subdev_format *)' [-Wincompatible-function-pointer-types]
250 | .set_fmt = uds_set_format,
| ^~~~~~~~~~~~~~
2 errors generated.
..
vim +280 drivers/media/platform/renesas/vsp1/vsp1_rwpf.c
bd2fdd5aa919e3 drivers/media/platform/vsp1/vsp1_rwpf.c Laurent Pinchart 2015-11-01 276
42d62b7e47d582 drivers/media/platform/renesas/vsp1/vsp1_rwpf.c Laurent Pinchart 2023-10-24 277 static const struct v4l2_subdev_pad_ops vsp1_rwpf_pad_ops = {
c6c8efb656ff21 drivers/media/platform/vsp1/vsp1_rwpf.c Laurent Pinchart 2015-11-22 278 .enum_mbus_code = vsp1_rwpf_enum_mbus_code,
c6c8efb656ff21 drivers/media/platform/vsp1/vsp1_rwpf.c Laurent Pinchart 2015-11-22 279 .enum_frame_size = vsp1_rwpf_enum_frame_size,
3f557220cc29d1 drivers/media/platform/vsp1/vsp1_rwpf.c Laurent Pinchart 2016-02-24 @280 .get_fmt = vsp1_subdev_get_pad_format,
c6c8efb656ff21 drivers/media/platform/vsp1/vsp1_rwpf.c Laurent Pinchart 2015-11-22 281 .set_fmt = vsp1_rwpf_set_format,
c6c8efb656ff21 drivers/media/platform/vsp1/vsp1_rwpf.c Laurent Pinchart 2015-11-22 282 .get_selection = vsp1_rwpf_get_selection,
c6c8efb656ff21 drivers/media/platform/vsp1/vsp1_rwpf.c Laurent Pinchart 2015-11-22 283 .set_selection = vsp1_rwpf_set_selection,
c6c8efb656ff21 drivers/media/platform/vsp1/vsp1_rwpf.c Laurent Pinchart 2015-11-22 284 };
c6c8efb656ff21 drivers/media/platform/vsp1/vsp1_rwpf.c Laurent Pinchart 2015-11-22 285
:::::: The code at line 280 was first introduced by commit
:::::: 3f557220cc29d1961ef9efa2a8db04c7c5f6e6d4 [media] v4l: vsp1: Factorize get pad format code
:::::: TO: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
:::::: CC: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-03-20 11:57 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=202603201906.5eCaoTIU-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-media@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--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 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.