From: kernel test robot <lkp@intel.com>
To: Wentong Wu <wentong.wu@intel.com>,
gregkh@linuxfoundation.org, arnd@arndb.de, mka@chromium.org,
oneukum@suse.com, lee@kernel.org, wsa@kernel.org,
kfting@nuvoton.com, broonie@kernel.org, linus.walleij@linaro.org,
hdegoede@redhat.com, maz@kernel.org, brgl@bgdev.pl,
linux-usb@vger.kernel.org, linux-i2c@vger.kernel.org,
linux-spi@vger.kernel.org, linux-gpio@vger.kernel.org,
andriy.shevchenko@linux.intel.com,
heikki.krogerus@linux.intel.com, andi.shyti@linux.intel.com,
sakari.ailus@linux.intel.com, bartosz.golaszewski@linaro.org,
srinivas.pandruvada@intel.com
Cc: oe-kbuild-all@lists.linux.dev, zhifeng.wang@intel.com,
Wentong Wu <wentong.wu@intel.com>
Subject: Re: [PATCH v13 2/4] i2c: Add support for Intel LJCA USB I2C driver
Date: Mon, 4 Sep 2023 13:18:51 +0800 [thread overview]
Message-ID: <202309041328.xzeaJFiO-lkp@intel.com> (raw)
In-Reply-To: <1693797462-4833-3-git-send-email-wentong.wu@intel.com>
Hi Wentong,
kernel test robot noticed the following build errors:
[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on broonie-spi/for-next linus/master v6.5 next-20230831]
[cannot apply to usb/usb-testing usb/usb-next usb/usb-linus]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Wentong-Wu/usb-Add-support-for-Intel-LJCA-device/20230904-112200
base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next
patch link: https://lore.kernel.org/r/1693797462-4833-3-git-send-email-wentong.wu%40intel.com
patch subject: [PATCH v13 2/4] i2c: Add support for Intel LJCA USB I2C driver
config: sparc-allmodconfig (https://download.01.org/0day-ci/archive/20230904/202309041328.xzeaJFiO-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230904/202309041328.xzeaJFiO-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/202309041328.xzeaJFiO-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/i2c/busses/i2c-ljca.c: In function 'ljca_i2c_probe':
>> drivers/i2c/busses/i2c-ljca.c:311:17: error: implicit declaration of function 'acpi_dev_clear_dependencies' [-Werror=implicit-function-declaration]
311 | acpi_dev_clear_dependencies(ACPI_COMPANION(&ljca_i2c->adap.dev));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/acpi_dev_clear_dependencies +311 drivers/i2c/busses/i2c-ljca.c
270
271 static int ljca_i2c_probe(struct auxiliary_device *auxdev,
272 const struct auxiliary_device_id *aux_dev_id)
273 {
274 struct ljca_client *ljca = auxiliary_dev_to_ljca_client(auxdev);
275 struct ljca_i2c_dev *ljca_i2c;
276 int ret;
277
278 ljca_i2c = devm_kzalloc(&auxdev->dev, sizeof(*ljca_i2c), GFP_KERNEL);
279 if (!ljca_i2c)
280 return -ENOMEM;
281
282 ljca_i2c->ljca = ljca;
283 ljca_i2c->i2c_info = dev_get_platdata(&auxdev->dev);
284
285 ljca_i2c->adap.owner = THIS_MODULE;
286 ljca_i2c->adap.class = I2C_CLASS_HWMON;
287 ljca_i2c->adap.algo = &ljca_i2c_algo;
288 ljca_i2c->adap.quirks = &ljca_i2c_quirks;
289 ljca_i2c->adap.dev.parent = &auxdev->dev;
290
291 snprintf(ljca_i2c->adap.name, sizeof(ljca_i2c->adap.name), "%s-%s-%d",
292 dev_name(&auxdev->dev), dev_name(auxdev->dev.parent),
293 ljca_i2c->i2c_info->id);
294
295 device_set_node(&ljca_i2c->adap.dev, dev_fwnode(&auxdev->dev));
296
297 i2c_set_adapdata(&ljca_i2c->adap, ljca_i2c);
298 auxiliary_set_drvdata(auxdev, ljca_i2c);
299
300 ret = ljca_i2c_init(ljca_i2c, ljca_i2c->i2c_info->id);
301 if (ret)
302 return dev_err_probe(&auxdev->dev, -EIO,
303 "i2c init failed id: %d\n",
304 ljca_i2c->i2c_info->id);
305
306 ret = devm_i2c_add_adapter(&auxdev->dev, &ljca_i2c->adap);
307 if (ret)
308 return ret;
309
310 if (has_acpi_companion(&ljca_i2c->adap.dev))
> 311 acpi_dev_clear_dependencies(ACPI_COMPANION(&ljca_i2c->adap.dev));
312
313 return 0;
314 }
315
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-09-04 5:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-04 3:17 [PATCH v13 0/4] Add Intel LJCA device driver Wentong Wu
2023-09-04 3:17 ` [PATCH v13 1/4] usb: Add support for Intel LJCA device Wentong Wu
2023-09-04 3:17 ` [PATCH v13 2/4] i2c: Add support for Intel LJCA USB I2C driver Wentong Wu
2023-09-04 5:18 ` kernel test robot [this message]
2023-09-04 3:17 ` [PATCH v13 3/4] spi: Add support for Intel LJCA USB SPI driver Wentong Wu
2023-09-04 3:17 ` [PATCH v13 4/4] gpio: update Intel LJCA USB GPIO driver Wentong Wu
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=202309041328.xzeaJFiO-lkp@intel.com \
--to=lkp@intel.com \
--cc=andi.shyti@linux.intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=arnd@arndb.de \
--cc=bartosz.golaszewski@linaro.org \
--cc=brgl@bgdev.pl \
--cc=broonie@kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hdegoede@redhat.com \
--cc=heikki.krogerus@linux.intel.com \
--cc=kfting@nuvoton.com \
--cc=lee@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-spi@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=maz@kernel.org \
--cc=mka@chromium.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=oneukum@suse.com \
--cc=sakari.ailus@linux.intel.com \
--cc=srinivas.pandruvada@intel.com \
--cc=wentong.wu@intel.com \
--cc=wsa@kernel.org \
--cc=zhifeng.wang@intel.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