From: kernel test robot <lkp@intel.com>
To: "Guillaume Stols" <gstols@baylibre.com>,
"Uwe Kleine-König" <ukleinek@kernel.org>,
"Lars-Peter Clausen" <lars@metafoo.de>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"Jonathan Cameron" <jic23@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
"Jonathan Corbet" <corbet@lwn.net>
Cc: oe-kbuild-all@lists.linux.dev, linux-pwm@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org,
linux-iio@vger.kernel.org, devicetree@vger.kernel.org,
linux-doc@vger.kernel.org, aardelean@baylibre.com,
dlechner@baylibre.com, Guillaume Stols <gstols@baylibre.com>
Subject: Re: [PATCH v3 07/10] iio: adc: ad7606: Add compatibility to fw_nodes
Date: Sun, 6 Oct 2024 14:23:08 +0800 [thread overview]
Message-ID: <202410061420.L3sUSK8b-lkp@intel.com> (raw)
In-Reply-To: <20241004-ad7606_add_iio_backend_support-v3-7-38757012ce82@baylibre.com>
Hi Guillaume,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 35307f34d6fef8f9d41a1e8f4f532e4b0a7ee422]
url: https://github.com/intel-lab-lkp/linux/commits/Guillaume-Stols/iio-adc-ad7606-Fix-typo-in-the-driver-name/20241005-055256
base: 35307f34d6fef8f9d41a1e8f4f532e4b0a7ee422
patch link: https://lore.kernel.org/r/20241004-ad7606_add_iio_backend_support-v3-7-38757012ce82%40baylibre.com
patch subject: [PATCH v3 07/10] iio: adc: ad7606: Add compatibility to fw_nodes
config: i386-randconfig-062-20241006 (https://download.01.org/0day-ci/archive/20241006/202410061420.L3sUSK8b-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241006/202410061420.L3sUSK8b-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/202410061420.L3sUSK8b-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/iio/adc/ad7606_spi.c:324:29: sparse: sparse: symbol 'ad7606_spi_bops' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:328:29: sparse: sparse: symbol 'ad7616_spi_bops' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:337:29: sparse: sparse: symbol 'ad7606b_spi_bops' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:346:29: sparse: sparse: symbol 'ad7606c_18_spi_bops' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:370:30: sparse: sparse: symbol 'ad7606_4_bus_info' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:375:30: sparse: sparse: symbol 'ad7606b_bus_info' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:380:30: sparse: sparse: symbol 'ad7606c_16_bus_info' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:385:30: sparse: sparse: symbol 'ad7606c_18_bus_info' was not declared. Should it be static?
>> drivers/iio/adc/ad7606_spi.c:390:30: sparse: sparse: symbol 'ad7616_bus_info' was not declared. Should it be static?
vim +/ad7606_spi_bops +324 drivers/iio/adc/ad7606_spi.c
323
> 324 const struct ad7606_bus_ops ad7606_spi_bops = {
325 .read_block = ad7606_spi_read_block,
326 };
327
> 328 const struct ad7606_bus_ops ad7616_spi_bops = {
329 .read_block = ad7606_spi_read_block,
330 .reg_read = ad7606_spi_reg_read,
331 .reg_write = ad7606_spi_reg_write,
332 .write_mask = ad7606_spi_write_mask,
333 .rd_wr_cmd = ad7616_spi_rd_wr_cmd,
334 .sw_mode_config = ad7616_sw_mode_config,
335 };
336
> 337 const struct ad7606_bus_ops ad7606b_spi_bops = {
338 .read_block = ad7606_spi_read_block,
339 .reg_read = ad7606_spi_reg_read,
340 .reg_write = ad7606_spi_reg_write,
341 .write_mask = ad7606_spi_write_mask,
342 .rd_wr_cmd = ad7606B_spi_rd_wr_cmd,
343 .sw_mode_config = ad7606B_sw_mode_config,
344 };
345
> 346 const struct ad7606_bus_ops ad7606c_18_spi_bops = {
347 .read_block = ad7606_spi_read_block18to32,
348 .reg_read = ad7606_spi_reg_read,
349 .reg_write = ad7606_spi_reg_write,
350 .write_mask = ad7606_spi_write_mask,
351 .rd_wr_cmd = ad7606B_spi_rd_wr_cmd,
352 .sw_mode_config = ad7606c_18_sw_mode_config,
353 };
354
355 static const struct ad7606_bus_info ad7605_4_bus_info = {
356 .chip_info = &ad7605_4_info,
357 .bops = &ad7606_spi_bops,
358 };
359
360 static const struct ad7606_bus_info ad7606_8_bus_info = {
361 .chip_info = &ad7606_8_info,
362 .bops = &ad7606_spi_bops,
363 };
364
365 static const struct ad7606_bus_info ad7606_6_bus_info = {
366 .chip_info = &ad7606_6_info,
367 .bops = &ad7606_spi_bops,
368 };
369
> 370 const struct ad7606_bus_info ad7606_4_bus_info = {
371 .chip_info = &ad7606_4_info,
372 .bops = &ad7606_spi_bops,
373 };
374
> 375 const struct ad7606_bus_info ad7606b_bus_info = {
376 .chip_info = &ad7606b_info,
377 .bops = &ad7606b_spi_bops,
378 };
379
> 380 const struct ad7606_bus_info ad7606c_16_bus_info = {
381 .chip_info = &ad7606c_16_info,
382 .bops = &ad7606b_spi_bops,
383 };
384
> 385 const struct ad7606_bus_info ad7606c_18_bus_info = {
386 .chip_info = &ad7606c_18_info,
387 .bops = &ad7606c_18_spi_bops,
388 };
389
> 390 const struct ad7606_bus_info ad7616_bus_info = {
391 .chip_info = &ad7616_info,
392 .bops = &ad7616_spi_bops,
393 };
394
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-10-06 6:23 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-04 21:48 [PATCH v3 00/10] Add iio backend compatibility for ad7606 Guillaume Stols
2024-10-04 21:48 ` [PATCH v3 01/10] iio: adc: ad7606: Fix typo in the driver name Guillaume Stols
2024-10-05 11:22 ` Jonathan Cameron
2024-10-04 21:48 ` [PATCH v3 02/10] dt-bindings: iio: adc: ad7606: Remove spi-cpha from required Guillaume Stols
2024-10-05 18:47 ` Rob Herring (Arm)
2024-10-04 21:48 ` [PATCH v3 03/10] dt-bindings: iio: adc: ad7606: Add iio backend bindings Guillaume Stols
2024-10-05 18:50 ` Rob Herring
2024-10-04 21:48 ` [PATCH v3 04/10] Documentation: iio: Document ad7606 driver Guillaume Stols
2024-10-04 21:48 ` [PATCH v3 05/10] iio: adc: ad7606: Sort includes in alphabetical order Guillaume Stols
2024-10-05 11:26 ` Jonathan Cameron
2024-10-04 21:48 ` [PATCH v3 06/10] iio: adc: ad7606: Add PWM support for conversion trigger Guillaume Stols
2024-10-05 11:40 ` Jonathan Cameron
2024-10-04 21:48 ` [PATCH v3 07/10] iio: adc: ad7606: Add compatibility to fw_nodes Guillaume Stols
2024-10-06 6:23 ` kernel test robot [this message]
2024-10-04 21:48 ` [PATCH v3 08/10] iio: adc: ad7606: Introduce num_adc_channels Guillaume Stols
2024-10-04 21:48 ` [PATCH v3 09/10] iio: adc: ad7606: Add iio-backend support Guillaume Stols
2024-10-05 11:53 ` Jonathan Cameron
2024-10-08 14:15 ` Guillaume Stols
2024-10-10 18:04 ` Jonathan Cameron
2024-10-06 5:31 ` kernel test robot
2024-10-04 21:48 ` [PATCH v3 10/10] iio: adc: ad7606: Disable PWM usage for non backend version Guillaume Stols
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=202410061420.L3sUSK8b-lkp@intel.com \
--to=lkp@intel.com \
--cc=Michael.Hennerich@analog.com \
--cc=aardelean@baylibre.com \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=gregkh@linuxfoundation.org \
--cc=gstols@baylibre.com \
--cc=jic23@kernel.org \
--cc=krzk@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-doc@vger.kernel.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rafael@kernel.org \
--cc=robh@kernel.org \
--cc=ukleinek@kernel.org \
/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).