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: llvm@lists.linux.dev, 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,
jstephan@baylibre.com, nuno.sa@analog.com,
Guillaume Stols <gstols@baylibre.com>
Subject: Re: [PATCH v5 7/8] iio: adc: ad7606: Add iio-backend support
Date: Sat, 19 Oct 2024 08:36:40 +0800 [thread overview]
Message-ID: <202410190802.CLaySBOq-lkp@intel.com> (raw)
In-Reply-To: <20241015-ad7606_add_iio_backend_support-v5-7-654faf1ae08c@baylibre.com>
Hi Guillaume,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 465644ac29536d10178b5ca4684d0b84765b9fa4]
url: https://github.com/intel-lab-lkp/linux/commits/Guillaume-Stols/dt-bindings-iio-adc-ad7606-Remove-spi-cpha-from-required/20241015-215831
base: 465644ac29536d10178b5ca4684d0b84765b9fa4
patch link: https://lore.kernel.org/r/20241015-ad7606_add_iio_backend_support-v5-7-654faf1ae08c%40baylibre.com
patch subject: [PATCH v5 7/8] iio: adc: ad7606: Add iio-backend support
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20241019/202410190802.CLaySBOq-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/20241019/202410190802.CLaySBOq-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/202410190802.CLaySBOq-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/iio/adc/ad7606_par.c:173:22: warning: unused variable 'back' [-Wunused-variable]
173 | struct iio_backend *back;
| ^~~~
1 warning generated.
vim +/back +173 drivers/iio/adc/ad7606_par.c
164
165 static int ad7606_par_probe(struct platform_device *pdev)
166 {
167 const struct ad7606_chip_info *chip_info;
168 const struct platform_device_id *id;
169 struct resource *res;
170 void __iomem *addr;
171 resource_size_t remap_size;
172 int irq;
> 173 struct iio_backend *back;
174
175 /*
176 * If a firmware node is available (ACPI or DT), platform_device_id is null
177 * and we must use get_match_data.
178 */
179 if (dev_fwnode(&pdev->dev)) {
180 chip_info = device_get_match_data(&pdev->dev);
181 if (device_property_present(&pdev->dev, "io-backends"))
182 /*
183 * If a backend is available ,call the core probe with backend
184 * bops, otherwise use the former bops.
185 */
186 return ad7606_probe(&pdev->dev, 0, NULL,
187 chip_info,
188 &ad7606_bi_bops);
189 } else {
190 id = platform_get_device_id(pdev);
191 chip_info = (const struct ad7606_chip_info *)id->driver_data;
192 }
193
194 irq = platform_get_irq(pdev, 0);
195 if (irq < 0)
196 return irq;
197
198 addr = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
199 if (IS_ERR(addr))
200 return PTR_ERR(addr);
201
202 remap_size = resource_size(res);
203
204 return ad7606_probe(&pdev->dev, irq, addr, chip_info,
205 remap_size > 1 ? &ad7606_par16_bops :
206 &ad7606_par8_bops);
207 }
208
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-10-19 0:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-15 13:56 [PATCH v5 0/8] Add iio backend compatibility for ad7606 Guillaume Stols
2024-10-15 13:56 ` [PATCH v5 1/8] dt-bindings: iio: adc: ad7606: Remove spi-cpha from required Guillaume Stols
2024-10-15 13:56 ` [PATCH v5 2/8] dt-bindings: iio: adc: ad7606: Add iio backend bindings Guillaume Stols
2024-10-15 13:56 ` [PATCH v5 3/8] Documentation: iio: Document ad7606 driver Guillaume Stols
2024-10-15 13:56 ` [PATCH v5 4/8] iio: adc: ad7606: Add PWM support for conversion trigger Guillaume Stols
2024-10-19 14:49 ` Jonathan Cameron
2024-10-15 13:56 ` [PATCH v5 5/8] iio: adc: ad7606: Add compatibility to fw_nodes Guillaume Stols
2024-10-15 13:56 ` [PATCH v5 6/8] iio: adc: ad7606: Introduce num_adc_channels Guillaume Stols
2024-10-15 13:56 ` [PATCH v5 7/8] iio: adc: ad7606: Add iio-backend support Guillaume Stols
2024-10-18 14:07 ` Guillaume Stols
2024-10-19 0:36 ` kernel test robot [this message]
2024-11-22 16:39 ` Uwe Kleine-König
2024-10-15 13:56 ` [PATCH v5 8/8] iio: adc: ad7606: Disable PWM usage for non backend version Guillaume Stols
2024-10-19 14:53 ` [PATCH v5 0/8] Add iio backend compatibility for ad7606 Jonathan Cameron
2024-10-21 13:10 ` 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=202410190802.CLaySBOq-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=jstephan@baylibre.com \
--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=llvm@lists.linux.dev \
--cc=nuno.sa@analog.com \
--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).