[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202504220916.ikwkHJgy-lkp@intel.com>
Date: Tue, 22 Apr 2025 09:58:47 +0800
From: kernel test robot <lkp@...el.com>
To: Dongcheng Yan <dongcheng.yan@...el.com>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-kernel@...r.kernel.org, Hans Verkuil <hverkuil@...all.nl>
Subject: drivers/media/i2c/lt6911uxe.c:446:14: error: use of undeclared
identifier 'v4l2_subdev_s_stream_helper'; did you mean
'v4l2_subdev_is_streaming'?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9d7a0577c9db35c4cc52db90bc415ea248446472
commit: e49563c3be09d4639ccff8ca68ef63b6f6c8456d media: i2c: add lt6911uxe hdmi bridge driver
date: 7 weeks ago
config: i386-randconfig-015-20250422 (https://download.01.org/0day-ci/archive/20250422/202504220916.ikwkHJgy-lkp@intel.com/config)
compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250422/202504220916.ikwkHJgy-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504220916.ikwkHJgy-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/media/i2c/lt6911uxe.c:446:14: error: use of undeclared identifier 'v4l2_subdev_s_stream_helper'; did you mean 'v4l2_subdev_is_streaming'?
446 | .s_stream = v4l2_subdev_s_stream_helper,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| v4l2_subdev_is_streaming
include/media/v4l2-subdev.h:2018:6: note: 'v4l2_subdev_is_streaming' declared here
2018 | bool v4l2_subdev_is_streaming(struct v4l2_subdev *sd);
| ^
>> drivers/media/i2c/lt6911uxe.c:446:14: error: incompatible function pointer types initializing 'int (*)(struct v4l2_subdev *, int)' with an expression of type 'bool (struct v4l2_subdev *)' (aka '_Bool (struct v4l2_subdev *)') [-Wincompatible-function-pointer-types]
446 | .s_stream = v4l2_subdev_s_stream_helper,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/media/i2c/lt6911uxe.c:456:13: error: use of undeclared identifier 'v4l2_subdev_get_fmt'; did you mean 'v4l2_subdev_notify'?
456 | .get_fmt = v4l2_subdev_get_fmt,
| ^~~~~~~~~~~~~~~~~~~
| 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/lt6911uxe.c:460:24: error: use of undeclared identifier 'v4l2_subdev_get_frame_interval'
460 | .get_frame_interval = v4l2_subdev_get_frame_interval,
| ^
>> drivers/media/i2c/lt6911uxe.c:703:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
703 | module_i2c_driver(lt6911uxe_i2c_driver);
| ^
| int
>> drivers/media/i2c/lt6911uxe.c:703:19: error: a parameter list without types is only allowed in a function definition
703 | module_i2c_driver(lt6911uxe_i2c_driver);
| ^
6 errors generated.
vim +446 drivers/media/i2c/lt6911uxe.c
444
445 static const struct v4l2_subdev_video_ops lt6911uxe_video_ops = {
> 446 .s_stream = v4l2_subdev_s_stream_helper,
447 };
448
449 /*
450 * lt6911uxe provides editable EDID for customers, but only can be edited like
451 * updating flash. Due to this limitation, it is not possible to implement
452 * EDID support.
453 */
454 static const struct v4l2_subdev_pad_ops lt6911uxe_pad_ops = {
455 .set_fmt = lt6911uxe_set_format,
> 456 .get_fmt = v4l2_subdev_get_fmt,
457 .enable_streams = lt6911uxe_enable_streams,
458 .disable_streams = lt6911uxe_disable_streams,
459 .enum_mbus_code = lt6911uxe_enum_mbus_code,
> 460 .get_frame_interval = v4l2_subdev_get_frame_interval,
461 .s_dv_timings = lt6911uxe_s_dv_timings,
462 .g_dv_timings = lt6911uxe_g_dv_timings,
463 .query_dv_timings = lt6911uxe_query_dv_timings,
464 .enum_dv_timings = lt6911uxe_enum_dv_timings,
465 .dv_timings_cap = lt6911uxe_dv_timings_cap,
466 .get_mbus_config = lt6911uxe_get_mbus_config,
467 };
468
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists