Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [sailus-media-tree:metadata-pre 17/17] drivers/media/i2c/ml86v7667.c:301:13: error: use of undeclared identifier 'v4l2_subdev_get_fmt_ci'; did you mean 'v4l2_subdev_notify'?
@ 2026-06-30 12:27 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-30 12:27 UTC (permalink / raw)
  To: Sakari Ailus; +Cc: llvm, oe-kbuild-all, linux-media

tree:   git://linuxtv.org/sailus/media_tree.git metadata-pre
head:   66c090febbc3c412ced4e71cb69f47b05eea0331
commit: 66c090febbc3c412ced4e71cb69f47b05eea0331 [17/17] media: v4l2-subdev: Add struct v4l2_subdev_client_info pointer to pad ops
config: arm64-randconfig-003 (https://download.01.org/0day-ci/archive/20260630/202606302010.Icm10dbc-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260630/202606302010.Icm10dbc-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/202606302010.Icm10dbc-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/media/i2c/ml86v7667.c:301:13: error: use of undeclared identifier 'v4l2_subdev_get_fmt_ci'; did you mean 'v4l2_subdev_notify'?
     301 |         .set_fmt = v4l2_subdev_get_fmt_ci,
         |                    ^~~~~~~~~~~~~~~~~~~~~~
         |                    v4l2_subdev_notify
   include/media/v4l2-device.h:238:20: note: 'v4l2_subdev_notify' declared here
     238 | static inline void v4l2_subdev_notify(struct v4l2_subdev *sd,
         |                    ^
>> drivers/media/i2c/ml86v7667.c:301: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 'void (struct v4l2_subdev *, unsigned int, void *)' [-Wincompatible-function-pointer-types]
     301 |         .set_fmt = v4l2_subdev_get_fmt_ci,
         |                    ^~~~~~~~~~~~~~~~~~~~~~
   2 errors generated.
--
>> drivers/media/i2c/ak881x.c:220:13: error: use of undeclared identifier 'v4l2_subdev_get_fmt_ci'; did you mean 'v4l2_subdev_notify'?
     220 |         .set_fmt        = v4l2_subdev_get_fmt_ci,
         |                           ^~~~~~~~~~~~~~~~~~~~~~
         |                           v4l2_subdev_notify
   include/media/v4l2-device.h:238:20: note: 'v4l2_subdev_notify' declared here
     238 | static inline void v4l2_subdev_notify(struct v4l2_subdev *sd,
         |                    ^
>> drivers/media/i2c/ak881x.c:220: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 'void (struct v4l2_subdev *, unsigned int, void *)' [-Wincompatible-function-pointer-types]
     220 |         .set_fmt        = v4l2_subdev_get_fmt_ci,
         |                           ^~~~~~~~~~~~~~~~~~~~~~
   2 errors generated.


vim +301 drivers/media/i2c/ml86v7667.c

   297	
   298	static const struct v4l2_subdev_pad_ops ml86v7667_subdev_pad_ops = {
   299		.enum_mbus_code = ml86v7667_enum_mbus_code,
   300		.get_fmt = ml86v7667_fill_fmt,
 > 301		.set_fmt = v4l2_subdev_get_fmt_ci,
   302		.get_mbus_config = ml86v7667_get_mbus_config,
   303	};
   304	

--
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-06-30 12:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-30 12:27 [sailus-media-tree:metadata-pre 17/17] drivers/media/i2c/ml86v7667.c:301:13: error: use of undeclared identifier 'v4l2_subdev_get_fmt_ci'; did you mean 'v4l2_subdev_notify'? 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