Re: [PATCH v3 07/10] iio: adc: ad7606: Add compatibility to fw_nodes

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

 



Hi Guillaume,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 35307f34d6fef8f9d41a1e8f4f532e4b0a7ee422]

url:    https://github.com/intel-lab-lkp/linux/commits/Guillaume-Stols/iio-adc-ad7606-Fix-typo-in-the-driver-name/20241005-055256
base:   35307f34d6fef8f9d41a1e8f4f532e4b0a7ee422
patch link:    https://lore.kernel.org/r/20241004-ad7606_add_iio_backend_support-v3-7-38757012ce82%40baylibre.com
patch subject: [PATCH v3 07/10] iio: adc: ad7606: Add compatibility to fw_nodes
config: i386-randconfig-062-20241006 (https://download.01.org/0day-ci/archive/20241006/202410061420.L3sUSK8b-lkp@xxxxxxxxx/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241006/202410061420.L3sUSK8b-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/202410061420.L3sUSK8b-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/iio/adc/ad7606_spi.c:324:29: sparse: sparse: symbol 'ad7606_spi_bops' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:328:29: sparse: sparse: symbol 'ad7616_spi_bops' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:337:29: sparse: sparse: symbol 'ad7606b_spi_bops' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:346:29: sparse: sparse: symbol 'ad7606c_18_spi_bops' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:370:30: sparse: sparse: symbol 'ad7606_4_bus_info' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:375:30: sparse: sparse: symbol 'ad7606b_bus_info' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:380:30: sparse: sparse: symbol 'ad7606c_16_bus_info' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:385:30: sparse: sparse: symbol 'ad7606c_18_bus_info' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:390:30: sparse: sparse: symbol 'ad7616_bus_info' was not declared. Should it be static?

vim +/ad7606_spi_bops +324 drivers/iio/adc/ad7606_spi.c

   323	
 > 324	const struct ad7606_bus_ops ad7606_spi_bops = {
   325		.read_block = ad7606_spi_read_block,
   326	};
   327	
 > 328	const struct ad7606_bus_ops ad7616_spi_bops = {
   329		.read_block = ad7606_spi_read_block,
   330		.reg_read = ad7606_spi_reg_read,
   331		.reg_write = ad7606_spi_reg_write,
   332		.write_mask = ad7606_spi_write_mask,
   333		.rd_wr_cmd = ad7616_spi_rd_wr_cmd,
   334		.sw_mode_config = ad7616_sw_mode_config,
   335	};
   336	
 > 337	const struct ad7606_bus_ops ad7606b_spi_bops = {
   338		.read_block = ad7606_spi_read_block,
   339		.reg_read = ad7606_spi_reg_read,
   340		.reg_write = ad7606_spi_reg_write,
   341		.write_mask = ad7606_spi_write_mask,
   342		.rd_wr_cmd = ad7606B_spi_rd_wr_cmd,
   343		.sw_mode_config = ad7606B_sw_mode_config,
   344	};
   345	
 > 346	const struct ad7606_bus_ops ad7606c_18_spi_bops = {
   347		.read_block = ad7606_spi_read_block18to32,
   348		.reg_read = ad7606_spi_reg_read,
   349		.reg_write = ad7606_spi_reg_write,
   350		.write_mask = ad7606_spi_write_mask,
   351		.rd_wr_cmd = ad7606B_spi_rd_wr_cmd,
   352		.sw_mode_config = ad7606c_18_sw_mode_config,
   353	};
   354	
   355	static const struct ad7606_bus_info ad7605_4_bus_info = {
   356		.chip_info = &ad7605_4_info,
   357		.bops = &ad7606_spi_bops,
   358	};
   359	
   360	static const struct ad7606_bus_info ad7606_8_bus_info = {
   361		.chip_info = &ad7606_8_info,
   362		.bops = &ad7606_spi_bops,
   363	};
   364	
   365	static const struct ad7606_bus_info ad7606_6_bus_info = {
   366		.chip_info = &ad7606_6_info,
   367		.bops = &ad7606_spi_bops,
   368	};
   369	
 > 370	const struct ad7606_bus_info ad7606_4_bus_info = {
   371		.chip_info = &ad7606_4_info,
   372		.bops = &ad7606_spi_bops,
   373	};
   374	
 > 375	const struct ad7606_bus_info ad7606b_bus_info = {
   376		.chip_info = &ad7606b_info,
   377		.bops = &ad7606b_spi_bops,
   378	};
   379	
 > 380	const struct ad7606_bus_info ad7606c_16_bus_info = {
   381		.chip_info = &ad7606c_16_info,
   382		.bops = &ad7606b_spi_bops,
   383	};
   384	
 > 385	const struct ad7606_bus_info ad7606c_18_bus_info = {
   386		.chip_info = &ad7606c_18_info,
   387		.bops = &ad7606c_18_spi_bops,
   388	};
   389	
 > 390	const struct ad7606_bus_info ad7616_bus_info = {
   391		.chip_info = &ad7616_info,
   392		.bops = &ad7616_spi_bops,
   393	};
   394	

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




[Index of Archives]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Tourism]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux