Re: [PATCH 12/12] iio: adc: adi-axi-adc: move to backend framework
From: kernel test robot
Date: Sat Nov 25 2023 - 02:44:24 EST
Hi Nuno,
kernel test robot noticed the following build warnings:
[auto build test WARNING on jic23-iio/togreg]
[also build test WARNING on driver-core/driver-core-testing driver-core/driver-core-next driver-core/driver-core-linus robh/for-next linus/master v6.7-rc2 next-20231124]
[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/Nuno-Sa-via-B4-Relay/driver-core-allow-modifying-device_links-flags/20231121-182010
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
patch link: https://lore.kernel.org/r/20231121-dev-iio-backend-v1-12-6a3d542eba35%40analog.com
patch subject: [PATCH 12/12] iio: adc: adi-axi-adc: move to backend framework
config: arm-randconfig-r081-20231123 (https://download.01.org/0day-ci/archive/20231125/202311251430.QfOfg5Ws-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231125/202311251430.QfOfg5Ws-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/202311251430.QfOfg5Ws-lkp@xxxxxxxxx/
smatch warnings:
drivers/iio/adc/adi-axi-adc.c:64 axi_adc_enable() warn: inconsistent indenting
vim +64 drivers/iio/adc/adi-axi-adc.c
58
59 static int axi_adc_enable(struct iio_backend *back)
60 {
61 struct adi_axi_adc_state *st = iio_backend_get_priv(back);
62 int ret;
63
> 64 ret = regmap_set_bits(st->regmap, ADI_AXI_REG_RSTN,
65 ADI_AXI_REG_RSTN_MMCM_RSTN);
66 if (ret)
67 return ret;
68
69 fsleep(10);
70 return regmap_set_bits(st->regmap, ADI_AXI_REG_RSTN,
71 ADI_AXI_REG_RSTN_RSTN | ADI_AXI_REG_RSTN_MMCM_RSTN);
72 }
73
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki