devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Tobias Sperling via B4 Relay
	<devnull+tobias.sperling.softing.com@kernel.org>,
	Jonathan Cameron <jic23@kernel.org>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Tobias Sperling <tobias.sperling@softing.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-iio@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/2] iio: adc: Add driver for ADS7128 / ADS7138
Date: Tue, 4 Feb 2025 17:59:02 +0800	[thread overview]
Message-ID: <202502041729.kDDFNlnS-lkp@intel.com> (raw)
In-Reply-To: <20250203-adc_ml-v2-2-8a597660c395@softing.com>

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@intel.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

      reply	other threads:[~2025-02-04  9:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-03 16:27 [PATCH v2 0/2] Support for TI ADS7128 and ADS7138 ADCs Tobias Sperling via B4 Relay
2025-02-03 16:27 ` [PATCH v2 1/2] dt-bindings: iio: adc: Introduce ADS7138 Tobias Sperling via B4 Relay
2025-02-03 16:27 ` [PATCH v2 2/2] iio: adc: Add driver for ADS7128 / ADS7138 Tobias Sperling via B4 Relay
2025-02-04  9:59   ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202502041729.kDDFNlnS-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=devnull+tobias.sperling.softing.com@kernel.org \
    --cc=jic23@kernel.org \
    --cc=krzk@kernel.org \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robh@kernel.org \
    --cc=tobias.sperling@softing.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).