From: kernel test robot <lkp@intel.com>
To: Alexandru Ardelean <alexandru.ardelean@analog.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
linux-kernel@vger.kernel.org,
Jonathan Cameron <Jonathan.Cameron@huawei.com>
Subject: drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable 'at91_adc_dt_ids'
Date: Wed, 18 Nov 2020 15:53:41 +0800 [thread overview]
Message-ID: <202011181530.Yp1fuBlh-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2973 bytes --]
Hi Alexandru,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0fa8ee0d9ab95c9350b8b84574824d9a384a9f7d
commit: 4027860dcc4cd0c45c36bae21e45bee5a17f2f0f iio: Kconfig: at91_adc: add COMPILE_TEST dependency to driver
date: 5 months ago
config: x86_64-randconfig-a011-20201118 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project b2613fb2f0f53691dd0211895afbb9413457fca7)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4027860dcc4cd0c45c36bae21e45bee5a17f2f0f
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 4027860dcc4cd0c45c36bae21e45bee5a17f2f0f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/iio/adc/at91_adc.c:1439:34: warning: unused variable 'at91_adc_dt_ids' [-Wunused-const-variable]
static const struct of_device_id at91_adc_dt_ids[] = {
^
1 warning generated.
vim +/at91_adc_dt_ids +1439 drivers/iio/adc/at91_adc.c
e1811f97ba985fe Josh Wu 2013-08-27 1438
e364185f3ed2ecc Maxime Ripard 2012-05-11 @1439 static const struct of_device_id at91_adc_dt_ids[] = {
e1811f97ba985fe Josh Wu 2013-08-27 1440 { .compatible = "atmel,at91sam9260-adc", .data = &at91sam9260_caps },
65b1fdbac9e39d9 Alexandre Belloni 2014-04-15 1441 { .compatible = "atmel,at91sam9rl-adc", .data = &at91sam9rl_caps },
e1811f97ba985fe Josh Wu 2013-08-27 1442 { .compatible = "atmel,at91sam9g45-adc", .data = &at91sam9g45_caps },
e1811f97ba985fe Josh Wu 2013-08-27 1443 { .compatible = "atmel,at91sam9x5-adc", .data = &at91sam9x5_caps },
e364185f3ed2ecc Maxime Ripard 2012-05-11 1444 {},
e364185f3ed2ecc Maxime Ripard 2012-05-11 1445 };
e364185f3ed2ecc Maxime Ripard 2012-05-11 1446 MODULE_DEVICE_TABLE(of, at91_adc_dt_ids);
467a44b0372d826 Alexandre Belloni 2014-05-03 1447
:::::: The code at line 1439 was first introduced by commit
:::::: e364185f3ed2ecc0a4dbfe2507f20fd5db76c966 IIO: AT91: Add DT support to at91_adc driver
:::::: TO: Maxime Ripard <maxime.ripard@free-electrons.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36692 bytes --]
next reply other threads:[~2020-11-18 7:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-18 7:53 kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-09-27 8:37 kernel test robot
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=202011181530.Yp1fuBlh-lkp@intel.com \
--to=lkp@intel.com \
--cc=Jonathan.Cameron@huawei.com \
--cc=alexandru.ardelean@analog.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.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
all inboxes | Powered by JetHome®