All of lore.kernel.org
 help / color / mirror / Atom feed
* 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 *)'
@ 2026-08-13 14:57 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-08-13 14:57 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: 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: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
TO: Md Shofiqul Islam <shofiqtest@gmail.com>
CC: 0day robot <lkp@intel.com>

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/202608132209.17bCFDJl-lkp@intel.com/config)
compiler: arc-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260813/202608132209.17bCFDJl-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/r/202608132209.17bCFDJl-lkp@intel.com/

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-13 14:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-13 14:57 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

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.