Re: [PATCH v3 3/9] iio: adc: Add support for ad4062

From: kernel test robot

Date: Sat Dec 06 2025 - 13:12:59 EST


Hi Jorge,

kernel test robot noticed the following build errors:

[auto build test ERROR on f9e05791642810a0cf6237d39fafd6fec5e0b4bb]

url: https://github.com/intel-lab-lkp/linux/commits/Jorge-Marques/dt-bindings-iio-adc-Add-adi-ad4062/20251206-033708
base: f9e05791642810a0cf6237d39fafd6fec5e0b4bb
patch link: https://lore.kernel.org/r/20251205-staging-ad4062-v3-3-8761355f9c66%40analog.com
patch subject: [PATCH v3 3/9] iio: adc: Add support for ad4062
config: riscv-allyesconfig (https://download.01.org/0day-ci/archive/20251207/202512070145.nkD9ROxx-lkp@xxxxxxxxx/config)
compiler: clang version 16.0.6 (https://github.com/llvm/llvm-project 7cbf1a2591520c2491aa35339f227775f4d3adf6)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251207/202512070145.nkD9ROxx-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/202512070145.nkD9ROxx-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/iio/adc/ad4062.c:762:49: error: initializer element is not a compile-time constant
I3C_DEVICE(AD4062_I3C_VENDOR, ad4060_chip_info.prod_id, &ad4060_chip_info),
~~~~~~~~~~~~~~~~~^~~~~~~
include/linux/i3c/device.h:151:14: note: expanded from macro 'I3C_DEVICE'
.part_id = _partid, \
^~~~~~~
1 error generated.


vim +762 drivers/iio/adc/ad4062.c

760
761 static const struct i3c_device_id ad4062_id_table[] = {
> 762 I3C_DEVICE(AD4062_I3C_VENDOR, ad4060_chip_info.prod_id, &ad4060_chip_info),
763 I3C_DEVICE(AD4062_I3C_VENDOR, ad4062_chip_info.prod_id, &ad4062_chip_info),
764 { }
765 };
766 MODULE_DEVICE_TABLE(i3c, ad4062_id_table);
767

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