Re: [PATCH v3 3/3] iio: adc: add support for pac1921

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Matteo,

kernel test robot noticed the following build errors:

[auto build test ERROR on 1ebab783647a9e3bf357002d5c4ff060c8474a0a]

url:    https://github.com/intel-lab-lkp/linux/commits/Matteo-Martelli/dt-bindings-iio-adc-add-binding-for-pac1921/20240722-183406
base:   1ebab783647a9e3bf357002d5c4ff060c8474a0a
patch link:    https://lore.kernel.org/r/20240722-iio-pac1921-v3-3-05dc9916cb33%40gmail.com
patch subject: [PATCH v3 3/3] iio: adc: add support for pac1921
config: um-randconfig-r051-20240723 (https://download.01.org/0day-ci/archive/20240724/202407240123.tjObpf49-lkp@xxxxxxxxx/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240724/202407240123.tjObpf49-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/202407240123.tjObpf49-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/iio/adc/pac1921.c:892:2: error: initializer element is not constant
     pac1921_ext_info_scale_avail,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/iio/adc/pac1921.c:892:2: note: (near initialization for 'pac1921_ext_info_voltage[0]')
   drivers/iio/adc/pac1921.c:897:2: error: initializer element is not constant
     pac1921_ext_info_scale_avail,
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/iio/adc/pac1921.c:897:2: note: (near initialization for 'pac1921_ext_info_current[0]')
   drivers/iio/adc/pac1921.c:898:2: error: initializer element is not constant
     pac1921_ext_info_rshunt,
     ^~~~~~~~~~~~~~~~~~~~~~~
   drivers/iio/adc/pac1921.c:898:2: note: (near initialization for 'pac1921_ext_info_current[1]')


vim +892 drivers/iio/adc/pac1921.c

   890	
   891	static const struct iio_chan_spec_ext_info pac1921_ext_info_voltage[] = {
 > 892		pac1921_ext_info_scale_avail,
   893		{}
   894	};
   895	

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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux