Linux IIO development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Uwe =?unknown-8bit?Q?Kleine-K=C3=B6nig?=
	<u.kleine-koenig@baylibre.com>,
	"Jonathan Cameron" <jic23@kernel.org>,
	"Lars-Peter Clausen" <lars@metafoo.de>,
	"Michael Hennerich" <Michael.Hennerich@analog.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Alexandru Ardelean <aardelean@baylibre.com>,
	Alisa-Dariana Roman <alisa.roman@analog.com>,
	Andy Shevchenko <andy.shevchenko@gmail.com>,
	Conor Dooley <conor+dt@kernel.org>,
	David Lechner <dlechner@baylibre.com>,
	Dumitru Ceclan <dumitru.ceclan@analog.com>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Nuno Sa <nuno.sa@analog.com>, Rob Herring <robh@kernel.org>,
	devicetree@vger.kernel.org, linux-iio@vger.kernel.org
Subject: Re: [PATCH v3 07/10] iio: adc: ad_sigma_delta: Store information about reset sequence length
Date: Mon, 25 Nov 2024 18:14:58 +0800	[thread overview]
Message-ID: <202411251711.ZE0hl0cg-lkp@intel.com> (raw)
In-Reply-To: <20241122113322.242875-19-u.kleine-koenig@baylibre.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown-8bit, Size: 3533 bytes --]

Hi Uwe,

kernel test robot noticed the following build warnings:

[auto build test WARNING on adc218676eef25575469234709c2d87185ca223a]

url:    https://github.com/intel-lab-lkp/linux/commits/Uwe-Kleine-K-nig/iio-adc-ad7124-Don-t-create-more-channels-than-the-driver-can-handle/20241125-104725
base:   adc218676eef25575469234709c2d87185ca223a
patch link:    https://lore.kernel.org/r/20241122113322.242875-19-u.kleine-koenig%40baylibre.com
patch subject: [PATCH v3 07/10] iio: adc: ad_sigma_delta: Store information about reset sequence length
config: i386-buildonly-randconfig-003-20241125 (https://download.01.org/0day-ci/archive/20241125/202411251711.ZE0hl0cg-lkp@intel.com/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241125/202411251711.ZE0hl0cg-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/202411251711.ZE0hl0cg-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/iio/adc/ad_sigma_delta.c:186: warning: Excess function parameter 'reset_length' description in 'ad_sd_reset'


vim +186 drivers/iio/adc/ad_sigma_delta.c

af3008485ea037 Lars-Peter Clausen 2012-08-10  176  
7fc10de8d49a74 Dragos Bogdan      2017-09-05  177  /**
7fc10de8d49a74 Dragos Bogdan      2017-09-05  178   * ad_sd_reset() - Reset the serial interface
7fc10de8d49a74 Dragos Bogdan      2017-09-05  179   *
7fc10de8d49a74 Dragos Bogdan      2017-09-05  180   * @sigma_delta: The sigma delta device
7fc10de8d49a74 Dragos Bogdan      2017-09-05  181   * @reset_length: Number of SCLKs with DIN = 1
7fc10de8d49a74 Dragos Bogdan      2017-09-05  182   *
7fc10de8d49a74 Dragos Bogdan      2017-09-05  183   * Returns 0 on success, an error code otherwise.
7fc10de8d49a74 Dragos Bogdan      2017-09-05  184   **/
066265377484bc Uwe Kleine-König   2024-11-22  185  int ad_sd_reset(struct ad_sigma_delta *sigma_delta)
7fc10de8d49a74 Dragos Bogdan      2017-09-05 @186  {
066265377484bc Uwe Kleine-König   2024-11-22  187  	unsigned int reset_length = sigma_delta->info->num_resetclks;
066265377484bc Uwe Kleine-König   2024-11-22  188  	unsigned int size = DIV_ROUND_UP(reset_length, 8);
7fc10de8d49a74 Dragos Bogdan      2017-09-05  189  	uint8_t *buf;
7fc10de8d49a74 Dragos Bogdan      2017-09-05  190  	int ret;
7fc10de8d49a74 Dragos Bogdan      2017-09-05  191  
7fc10de8d49a74 Dragos Bogdan      2017-09-05  192  	buf = kcalloc(size, sizeof(*buf), GFP_KERNEL);
7fc10de8d49a74 Dragos Bogdan      2017-09-05  193  	if (!buf)
7fc10de8d49a74 Dragos Bogdan      2017-09-05  194  		return -ENOMEM;
7fc10de8d49a74 Dragos Bogdan      2017-09-05  195  
7fc10de8d49a74 Dragos Bogdan      2017-09-05  196  	memset(buf, 0xff, size);
7fc10de8d49a74 Dragos Bogdan      2017-09-05  197  	ret = spi_write(sigma_delta->spi, buf, size);
7fc10de8d49a74 Dragos Bogdan      2017-09-05  198  	kfree(buf);
7fc10de8d49a74 Dragos Bogdan      2017-09-05  199  
7fc10de8d49a74 Dragos Bogdan      2017-09-05  200  	return ret;
7fc10de8d49a74 Dragos Bogdan      2017-09-05  201  }
ef807729767fb7 Jonathan Cameron   2022-01-30  202  EXPORT_SYMBOL_NS_GPL(ad_sd_reset, IIO_AD_SIGMA_DELTA);
7fc10de8d49a74 Dragos Bogdan      2017-09-05  203  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

  parent reply	other threads:[~2024-11-25 10:15 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-22 11:33 [PATCH v3 00/10] iio: adc: ad7124: Various fixes Uwe Kleine-König
2024-11-22 11:33 ` [PATCH v3 01/10] iio: adc: ad7124: Don't create more channels than the driver can handle Uwe Kleine-König
2024-11-22 15:14   ` David Lechner
2024-11-22 15:54     ` Uwe Kleine-König
2024-11-22 16:18       ` David Lechner
2024-11-22 11:33 ` [PATCH v3 02/10] iio: adc: ad7124: Refuse invalid input specifiers Uwe Kleine-König
2024-11-22 11:33 ` [PATCH v3 03/10] dt-bindings: iio: adc: adi,ad7124: Allow specifications of a gpio for irq line Uwe Kleine-König
2024-11-27 13:41   ` Rob Herring
2024-11-27 15:09     ` Uwe Kleine-König
2024-11-22 11:33 ` [PATCH v3 04/10] iio: adc: ad_sigma_delta: Add support for reading irq status using a GPIO Uwe Kleine-König
2024-11-22 19:16   ` Andy Shevchenko
2024-11-25 10:49     ` Uwe Kleine-König
2024-11-22 11:33 ` [PATCH v3 05/10] iio: adc: ad_sigma_delta: Handle CS assertion as intended in ad_sd_read_reg_raw() Uwe Kleine-König
2024-11-22 15:16   ` Trevor Gamblin
2024-11-22 15:55     ` Uwe Kleine-König
2024-11-22 11:33 ` [PATCH v3 06/10] iio: adc: ad_sigma_delta: Fix a race condition Uwe Kleine-König
2024-11-22 19:21   ` Andy Shevchenko
2024-11-22 11:33 ` [PATCH v3 07/10] iio: adc: ad_sigma_delta: Store information about reset sequence length Uwe Kleine-König
2024-11-22 20:07   ` Andy Shevchenko
2024-11-25 10:14   ` kernel test robot [this message]
2024-11-22 11:33 ` [PATCH v3 08/10] iio: adc: ad_sigma_delta: Check for previous ready signals Uwe Kleine-König
2024-11-22 20:17   ` Andy Shevchenko
2024-11-25 11:10     ` Uwe Kleine-König
2024-11-22 11:33 ` [PATCH v3 09/10] iio: adc: ad7124: Add error reporting during probe Uwe Kleine-König
2024-11-22 16:44   ` Trevor Gamblin
2024-11-25 11:20     ` Uwe Kleine-König
2024-11-22 20:25   ` Andy Shevchenko
2024-11-25 11:18     ` Uwe Kleine-König
2024-11-22 11:33 ` [PATCH v3 10/10] iio: adc: ad7124: Implement temperature measurement Uwe Kleine-König
2024-11-22 15:46   ` David Lechner
2024-11-22 20:31   ` Andy Shevchenko
2024-11-25 11:27     ` Uwe Kleine-König
2024-11-25 13:47       ` Andy Shevchenko
2024-11-25 14:52         ` Uwe Kleine-König
2024-11-25 19:33           ` Andy Shevchenko
2024-11-27 14:05             ` Nuno Sá
2024-11-27 14:38             ` Uwe Kleine-König

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=202411251711.ZE0hl0cg-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=Michael.Hennerich@analog.com \
    --cc=aardelean@baylibre.com \
    --cc=alisa.roman@analog.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=dumitru.ceclan@analog.com \
    --cc=jic23@kernel.org \
    --cc=krzk@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=nuno.sa@analog.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=robh@kernel.org \
    --cc=u.kleine-koenig@baylibre.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