Re: [PATCH v2 4/4] iio: adc: ad7405: add ad7405 driver

From: kernel test robot
Date: Fri May 09 2025 - 07:47:02 EST


Hi Pop,

kernel test robot noticed the following build warnings:

[auto build test WARNING on jic23-iio/togreg]
[also build test WARNING on linus/master v6.15-rc5 next-20250508]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Pop-Ioan-Daniel/iio-backend-update-iio_backend_oversampling_ratio_set/20250508-203339
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
patch link: https://lore.kernel.org/r/20250508123107.3797042-5-pop.ioan-daniel%40analog.com
patch subject: [PATCH v2 4/4] iio: adc: ad7405: add ad7405 driver
config: m68k-randconfig-r123-20250509 (https://download.01.org/0day-ci/archive/20250509/202505091958.k0P7xNyC-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 13.3.0
reproduce: (https://download.01.org/0day-ci/archive/20250509/202505091958.k0P7xNyC-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/202505091958.k0P7xNyC-lkp@xxxxxxxxx/

sparse warnings: (new ones prefixed by >>)
>> drivers/iio/adc/ad7405.c:19:20: sparse: sparse: symbol 'ad7405_dec_rates' was not declared. Should it be static?

vim +/ad7405_dec_rates +19 drivers/iio/adc/ad7405.c

18
> 19 const unsigned int ad7405_dec_rates[] = {
20 4096, 2048, 1024, 512, 256, 128, 64, 32,
21 };
22

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