drivers/iio/health/max86150.c:304:29: error: initialization of 'int (*)(struct iio_dev *, struct iio_trigger *)' from incompatible pointer type 'int (*)(struct iio_trigger *, struct iio_dev *)'
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild |
|---|---|
| Message-ID | <[email protected]> |
:::::: :::::: Manual check reason: "bisect to a FBC not belonging to original linux-review patches: branch: linux-review/Md-Shofiqul-Islam/dt-bindings-iio-health-add-maxim-max86150/20260812-204159, commit: 7d9142d14851b3e733c74294fe4ed3b8c0fe2714" :::::: BCC: [email protected] CC: [email protected] TO: Md Shofiqul Islam <[email protected]> CC: 0day robot <[email protected]> tree: https://github.com/intel-lab-lkp/linux/commits/Md-Shofiqul-Islam/dt-bindings-iio-health-add-maxim-max86150/20260812-204159 head: 00cabb4834486f0cc65da13ea376d37ce0b55283 commit: 7d9142d14851b3e733c74294fe4ed3b8c0fe2714 iio: health: add MAX86150 ECG and PPG biosensor driver date: 26 hours ago :::::: branch date: 26 hours ago :::::: commit date: 26 hours ago config: arc-allmodconfig (https://download.01.org/0day-ci/archive/20260813/[email protected]/config) compiler: arc-linux-gcc (GCC) 16.1.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260813/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/r/[email protected]/ All errors (new ones prefixed by >>): >> drivers/iio/health/max86150.c:304:29: error: initialization of 'int (*)(struct iio_dev *, struct iio_trigger *)' from incompatible pointer type 'int (*)(struct iio_trigger *, struct iio_dev *)' [-Wincompatible-pointer-types] 304 | .validate_trigger = iio_trigger_validate_own_device, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/iio/health/max86150.c:304:29: note: (near initialization for 'max86150_iio_info.validate_trigger') In file included from drivers/iio/health/max86150.c:23: include/linux/iio/trigger.h:175:5: note: 'iio_trigger_validate_own_device' declared here 175 | int iio_trigger_validate_own_device(struct iio_trigger *trig, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vim +304 drivers/iio/health/max86150.c 7d9142d14851b3e Md Shofiqul Islam 2026-06-23 301 7d9142d14851b3e Md Shofiqul Islam 2026-06-23 302 static const struct iio_info max86150_iio_info = { 7d9142d14851b3e Md Shofiqul Islam 2026-06-23 303 .read_raw = max86150_read_raw, 7d9142d14851b3e Md Shofiqul Islam 2026-06-23 @304 .validate_trigger = iio_trigger_validate_own_device, 7d9142d14851b3e Md Shofiqul Islam 2026-06-23 305 }; 7d9142d14851b3e Md Shofiqul Islam 2026-06-23 306 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki