tree:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 729e3d091984487f7aa1ebfabfe594e5b317ed0f
commit: 4027860dcc4cd0c45c36bae21e45bee5a17f2f0f iio: Kconfig: at91_adc: add COMPILE_TEST
dependency to driver
date: 3 months ago
config: x86_64-randconfig-a014-20200912 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
45d0343900d3005d1d00cbb1a87c419c085dec71)
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
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(a)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.
#
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
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
vim +/at91_adc_dt_ids +1439 drivers/iio/adc/at91_adc.c
e1811f97ba985f Josh Wu 2013-08-27 1438
e364185f3ed2ec Maxime Ripard 2012-05-11 @1439 static const struct of_device_id
at91_adc_dt_ids[] = {
e1811f97ba985f Josh Wu 2013-08-27 1440 { .compatible =
"atmel,at91sam9260-adc", .data = &at91sam9260_caps },
65b1fdbac9e39d Alexandre Belloni 2014-04-15 1441 { .compatible =
"atmel,at91sam9rl-adc", .data = &at91sam9rl_caps },
e1811f97ba985f Josh Wu 2013-08-27 1442 { .compatible =
"atmel,at91sam9g45-adc", .data = &at91sam9g45_caps },
e1811f97ba985f Josh Wu 2013-08-27 1443 { .compatible =
"atmel,at91sam9x5-adc", .data = &at91sam9x5_caps },
e364185f3ed2ec Maxime Ripard 2012-05-11 1444 {},
e364185f3ed2ec Maxime Ripard 2012-05-11 1445 };
e364185f3ed2ec Maxime Ripard 2012-05-11 1446 MODULE_DEVICE_TABLE(of,
at91_adc_dt_ids);
467a44b0372d82 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(a)free-electrons.com>
:::::: CC: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org