All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH v1 7/9] iio: Expand IIO event interface for real-world unit handling
Date: Mon, 19 Jan 2026 10:50:51 +0800	[thread overview]
Message-ID: <202601191043.HpK6tTda-lkp@intel.com> (raw)
In-Reply-To: <6d9baa8d553d03a41fbd97bca0377a7a4779a93e.1768759292.git.marcelo.schmitt1@gmail.com>

Hi Marcelo,

[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:

[auto build test ERROR on c30e80d68a7afb334fde7147ee0106f25dd58d3a]

url:    https://github.com/intel-lab-lkp/linux/commits/Marcelo-Schmitt/iio-ABI-Drop-unused-in_energy_input/20260119-022321
base:   c30e80d68a7afb334fde7147ee0106f25dd58d3a
patch link:    https://lore.kernel.org/r/6d9baa8d553d03a41fbd97bca0377a7a4779a93e.1768759292.git.marcelo.schmitt1%40gmail.com
patch subject: [RFC PATCH v1 7/9] iio: Expand IIO event interface for real-world unit handling
config: i386-buildonly-randconfig-003-20260119 (https://download.01.org/0day-ci/archive/20260119/202601191043.HpK6tTda-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260119/202601191043.HpK6tTda-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/202601191043.HpK6tTda-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/iio/temperature/tmp007.c:422:29: error: initialization of 'int (*)(struct iio_dev *, const struct iio_chan_spec *, enum iio_event_type,  enum iio_event_direction,  enum iio_event_info,  enum iio_event_unit,  int *, int *)' from incompatible pointer type 'int (*)(struct iio_dev *, const struct iio_chan_spec *, enum iio_event_type,  enum iio_event_direction,  enum iio_event_info,  int *, int *)' [-Wincompatible-pointer-types]
     422 |         .read_event_value = tmp007_read_thresh,
         |                             ^~~~~~~~~~~~~~~~~~
   drivers/iio/temperature/tmp007.c:422:29: note: (near initialization for 'tmp007_info.read_event_value')
>> drivers/iio/temperature/tmp007.c:423:30: error: initialization of 'int (*)(struct iio_dev *, const struct iio_chan_spec *, enum iio_event_type,  enum iio_event_direction,  enum iio_event_info,  enum iio_event_unit,  int,  int)' from incompatible pointer type 'int (*)(struct iio_dev *, const struct iio_chan_spec *, enum iio_event_type,  enum iio_event_direction,  enum iio_event_info,  int,  int)' [-Wincompatible-pointer-types]
     423 |         .write_event_value = tmp007_write_thresh,
         |                              ^~~~~~~~~~~~~~~~~~~
   drivers/iio/temperature/tmp007.c:423:30: note: (near initialization for 'tmp007_info.write_event_value')
--
>> drivers/iio/accel/bmc150-accel-core.c:1160:35: error: initialization of 'int (*)(struct iio_dev *, const struct iio_chan_spec *, enum iio_event_type,  enum iio_event_direction,  enum iio_event_info,  enum iio_event_unit,  int *, int *)' from incompatible pointer type 'int (*)(struct iio_dev *, const struct iio_chan_spec *, enum iio_event_type,  enum iio_event_direction,  enum iio_event_info,  int *, int *)' [-Wincompatible-pointer-types]
    1160 |         .read_event_value       = bmc150_accel_read_event,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/iio/accel/bmc150-accel-core.c:1160:35: note: (near initialization for 'bmc150_accel_info.read_event_value')
   drivers/iio/accel/bmc150-accel-core.c:1161:35: error: initialization of 'int (*)(struct iio_dev *, const struct iio_chan_spec *, enum iio_event_type,  enum iio_event_direction,  enum iio_event_info,  enum iio_event_unit,  int,  int)' from incompatible pointer type 'int (*)(struct iio_dev *, const struct iio_chan_spec *, enum iio_event_type,  enum iio_event_direction,  enum iio_event_info,  int,  int)' [-Wincompatible-pointer-types]
    1161 |         .write_event_value      = bmc150_accel_write_event,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/iio/accel/bmc150-accel-core.c:1161:35: note: (near initialization for 'bmc150_accel_info.write_event_value')
   drivers/iio/accel/bmc150-accel-core.c:1170:35: error: initialization of 'int (*)(struct iio_dev *, const struct iio_chan_spec *, enum iio_event_type,  enum iio_event_direction,  enum iio_event_info,  enum iio_event_unit,  int *, int *)' from incompatible pointer type 'int (*)(struct iio_dev *, const struct iio_chan_spec *, enum iio_event_type,  enum iio_event_direction,  enum iio_event_info,  int *, int *)' [-Wincompatible-pointer-types]
    1170 |         .read_event_value       = bmc150_accel_read_event,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/iio/accel/bmc150-accel-core.c:1170:35: note: (near initialization for 'bmc150_accel_info_fifo.read_event_value')
   drivers/iio/accel/bmc150-accel-core.c:1171:35: error: initialization of 'int (*)(struct iio_dev *, const struct iio_chan_spec *, enum iio_event_type,  enum iio_event_direction,  enum iio_event_info,  enum iio_event_unit,  int,  int)' from incompatible pointer type 'int (*)(struct iio_dev *, const struct iio_chan_spec *, enum iio_event_type,  enum iio_event_direction,  enum iio_event_info,  int,  int)' [-Wincompatible-pointer-types]
    1171 |         .write_event_value      = bmc150_accel_write_event,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
   drivers/iio/accel/bmc150-accel-core.c:1171:35: note: (near initialization for 'bmc150_accel_info_fifo.write_event_value')

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for CAN_DEV
   Depends on [n]: NETDEVICES [=n] && CAN [=y]
   Selected by [y]:
   - CAN [=y] && NET [=y]


vim +422 drivers/iio/temperature/tmp007.c

948b707df8d249 Manivannan Sadhasivam 2017-01-09  416  
948b707df8d249 Manivannan Sadhasivam 2017-01-09  417  static const struct iio_info tmp007_info = {
948b707df8d249 Manivannan Sadhasivam 2017-01-09  418  	.read_raw = tmp007_read_raw,
948b707df8d249 Manivannan Sadhasivam 2017-01-09  419  	.write_raw = tmp007_write_raw,
7c5bc7e87cc43a Manivannan Sadhasivam 2017-01-23  420  	.read_event_config = tmp007_read_event_config,
7c5bc7e87cc43a Manivannan Sadhasivam 2017-01-23  421  	.write_event_config = tmp007_write_event_config,
7c5bc7e87cc43a Manivannan Sadhasivam 2017-01-23 @422  	.read_event_value = tmp007_read_thresh,
7c5bc7e87cc43a Manivannan Sadhasivam 2017-01-23 @423  	.write_event_value = tmp007_write_thresh,
948b707df8d249 Manivannan Sadhasivam 2017-01-09  424  	.attrs = &tmp007_attribute_group,
948b707df8d249 Manivannan Sadhasivam 2017-01-09  425  };
948b707df8d249 Manivannan Sadhasivam 2017-01-09  426  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2026-01-19  2:51 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-18 18:18 [RFC PATCH v1 0/9] iio: Expand IIO event interface for real-world unit handling Marcelo Schmitt
2026-01-18 18:18 ` [RFC PATCH v1 1/9] iio: ABI: Drop unused in_energy_input Marcelo Schmitt
2026-01-31 18:51   ` Jonathan Cameron
2026-01-18 18:20 ` [RFC PATCH v1 2/9] iio: ABI: Accurately describe in_distance_input Marcelo Schmitt
2026-01-18 19:46   ` David Lechner
2026-01-21  2:49     ` Marcelo Schmitt
2026-01-31 18:52       ` Jonathan Cameron
2026-01-18 18:20 ` [RFC PATCH v1 3/9] iio: ABI: Accurately describe in_illuminance[Y]_input Marcelo Schmitt
2026-01-18 18:20 ` [RFC PATCH v1 4/9] iio: ABI: Slight readability improve for event threshold value doc Marcelo Schmitt
2026-01-18 18:21 ` [RFC PATCH v1 5/9] iio: ABI: Update event threshold value documentation Marcelo Schmitt
2026-01-18 18:21 ` [RFC PATCH v1 6/9] iio: ABI: Adjust event threshold enable desc to unitless thresh values Marcelo Schmitt
2026-01-18 18:21 ` [RFC PATCH v1 7/9] iio: Expand IIO event interface for real-world unit handling Marcelo Schmitt
2026-01-18 20:10   ` David Lechner
2026-01-19  2:50   ` kernel test robot
2026-01-19  2:50   ` kernel test robot [this message]
2026-01-31 18:55   ` Jonathan Cameron
2026-01-18 18:22 ` [RFC PATCH v1 8/9] iio: dummy: iio_simple_dummy: Update to event unit expanded interface Marcelo Schmitt
2026-01-19  6:17   ` kernel test robot
2026-01-18 18:22 ` [RFC PATCH v1 9/9] iio: adc: ad7091r-base: " Marcelo Schmitt
2026-01-18 20:33 ` [RFC PATCH v1 0/9] iio: Expand IIO event interface for real-world unit handling David Lechner
2026-01-21  2:40   ` Marcelo Schmitt
2026-01-21  9:33   ` Nuno Sá
2026-01-21 17:43     ` David Lechner
2026-01-31 18:48       ` Jonathan Cameron
2026-02-02 10:21         ` Nuno Sá

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=202601191043.HpK6tTda-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=marcelo.schmitt1@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.