Re: [PATCH v2 2/2] iio: adc: Add driver for ADS7128 / ADS7138

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

 



Hi Tobias,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 05dbaf8dd8bf537d4b4eb3115ab42a5fb40ff1f5]

url:    https://github.com/intel-lab-lkp/linux/commits/Tobias-Sperling-via-B4-Relay/dt-bindings-iio-adc-Introduce-ADS7138/20250204-003030
base:   05dbaf8dd8bf537d4b4eb3115ab42a5fb40ff1f5
patch link:    https://lore.kernel.org/r/20250203-adc_ml-v2-2-8a597660c395%40softing.com
patch subject: [PATCH v2 2/2] iio: adc: Add driver for ADS7128 / ADS7138
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20250204/202502041729.kDDFNlnS-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250204/202502041729.kDDFNlnS-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/202502041729.kDDFNlnS-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/iio/adc/ti-ads7138.c:706:12: warning: 'ads71x8_runtime_resume' defined but not used [-Wunused-function]
     706 | static int ads71x8_runtime_resume(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/iio/adc/ti-ads7138.c:698:12: warning: 'ads71x8_runtime_suspend' defined but not used [-Wunused-function]
     698 | static int ads71x8_runtime_suspend(struct device *dev)
         |            ^~~~~~~~~~~~~~~~~~~~~~~


vim +/ads71x8_runtime_resume +706 drivers/iio/adc/ti-ads7138.c

   697	
 > 698	static int ads71x8_runtime_suspend(struct device *dev)
   699	{
   700		struct iio_dev *indio_dev = dev_get_drvdata(dev);
   701		struct ads71x8_data *data = iio_priv(indio_dev);
   702	
   703		return ads71x8_set_conv_mode(data, ADS71x8_MODE_MANUAL);
   704	}
   705	
 > 706	static int ads71x8_runtime_resume(struct device *dev)
   707	{
   708		struct iio_dev *indio_dev = dev_get_drvdata(dev);
   709		struct ads71x8_data *data = iio_priv(indio_dev);
   710	
   711		return ads71x8_set_conv_mode(data, ADS71x8_MODE_AUTO);
   712	}
   713	

-- 
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