Hi Olivier,
kernel test robot noticed the following build warnings:
[auto build test WARNING on d922ed738439e1d5b4701df7f4cdd49a09925624]
url: https://github.com/intel-lab-lkp/linux/commits/Olivier-Moysan/dt-bindings-ii... base: d922ed738439e1d5b4701df7f4cdd49a09925624 patch link: https://lore.kernel.org/r/20261118-upstream_mdf_v2-v2-8-7939d3c3720a%40foss.... patch subject: [PATCH v2 08/11] iio: adc: stm32-mdf: add dma buffered acquisition support config: csky-allmodconfig (https://download.01.org/0day-ci/archive/20261121/202611210936.q9qVaCjc-lkp@i...) compiler: csky-linux-gcc (GCC) 16.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261121/202611210936.q9qVaCjc-lkp@i...)
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@intel.com | Closes: https://lore.kernel.org/oe-kbuild-all/202611210936.q9qVaCjc-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/iio/adc/stm32-mdf-adc.c:1781:12: warning: 'stm32_mdf_adc_resume' defined but not used [-Wunused-function]
1781 | static int stm32_mdf_adc_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~
drivers/iio/adc/stm32-mdf-adc.c:1766:12: warning: 'stm32_mdf_adc_suspend' defined but not used [-Wunused-function]
1766 | static int stm32_mdf_adc_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~~~~~
vim +/stm32_mdf_adc_resume +1781 drivers/iio/adc/stm32-mdf-adc.c
1765
1766 static int stm32_mdf_adc_suspend(struct device *dev)
1767 { 1768 struct iio_dev *indio_dev = dev_get_drvdata(dev); 1769 struct stm32_mdf_adc *adc = iio_priv(indio_dev); 1770 int ret = 0; 1771 1772 if (iio_buffer_enabled(indio_dev)) 1773 ret = stm32_mdf_adc_predisable(indio_dev); 1774 1775 regcache_cache_only(adc->regmap, true); 1776 regcache_mark_dirty(adc->regmap); 1777 1778 return ret; 1779 } 1780
1781 static int stm32_mdf_adc_resume(struct device *dev)
1782 { 1783 struct iio_dev *indio_dev = dev_get_drvdata(dev); 1784 struct stm32_mdf_adc *adc = iio_priv(indio_dev); 1785 int ret; 1786 1787 regcache_cache_only(adc->regmap, false); 1788 ret = regcache_sync(adc->regmap); 1789 1790 if (!ret && iio_buffer_enabled(indio_dev)) 1791 ret = stm32_mdf_adc_postenable(indio_dev); 1792 1793 return ret; 1794 } 1795
linaro-mm-sig@lists.linaro.org