[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202502041729.kDDFNlnS-lkp@intel.com>
Date: Tue, 4 Feb 2025 17:59:02 +0800
From: kernel test robot <lkp@...el.com>
To: Tobias Sperling via B4 Relay <devnull+tobias.sperling.softing.com@...nel.org>,
Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Tobias Sperling <tobias.sperling@...ting.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] iio: adc: Add driver for ADS7128 / ADS7138
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@intel.com/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@intel.com/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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202502041729.kDDFNlnS-lkp@intel.com/
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
Powered by blists - more mailing lists