Hi Vasileios, kernel test robot noticed the following build errors: [auto build test ERROR on 8bea3878a1511bceadc2fbf284b00bcc5a2ef28d] url: https://github.com/intel-lab-lkp/linux/commits/Vasileios-Amoiridis/iio-Drop-usage-of-iio_validate_own_trigger/20240922-022124 base: 8bea3878a1511bceadc2fbf284b00bcc5a2ef28d patch link: https://lore.kernel.org/r/20240921181939.392517-2-vassilisamir%40gmail.com patch subject: [PATCH v1 1/2] iio: Drop usage of iio_validate_own_trigger() config: arc-randconfig-002-20240922 (https://download.01.org/0day-ci/archive/20240922/202409221140.AyQ2zQ81-lkp@xxxxxxxxx/config) compiler: arc-elf-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240922/202409221140.AyQ2zQ81-lkp@xxxxxxxxx/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@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202409221140.AyQ2zQ81-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): >> drivers/iio/light/rohm-bu27008.c:1389:29: error: initialization of 'int (*)(struct iio_dev *, struct iio_trigger *)' from incompatible pointer type 'int (*)(struct iio_trigger *, struct iio_dev *)' [-Werror=incompatible-pointer-types] 1389 | .validate_trigger = iio_trigger_validate_own_device, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/iio/light/rohm-bu27008.c:1389:29: note: (near initialization for 'bu27008_info.validate_trigger') cc1: some warnings being treated as errors -- >> drivers/iio/accel/kionix-kx022a.c:876:35: error: initialization of 'int (*)(struct iio_dev *, struct iio_trigger *)' from incompatible pointer type 'int (*)(struct iio_trigger *, struct iio_dev *)' [-Werror=incompatible-pointer-types] 876 | .validate_trigger = iio_trigger_validate_own_device, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/iio/accel/kionix-kx022a.c:876:35: note: (near initialization for 'kx022a_info.validate_trigger') cc1: some warnings being treated as errors vim +1389 drivers/iio/light/rohm-bu27008.c 1382 1383 static const struct iio_info bu27008_info = { 1384 .read_raw = &bu27008_read_raw, 1385 .write_raw = &bu27008_write_raw, 1386 .write_raw_get_fmt = &bu27008_write_raw_get_fmt, 1387 .read_avail = &bu27008_read_avail, 1388 .update_scan_mode = bu27008_update_scan_mode, > 1389 .validate_trigger = iio_trigger_validate_own_device, 1390 }; 1391 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki