* drivers/iio/adc/ltc2496.c:90:34: warning: unused variable 'ltc2496_of_match'
@ 2020-06-27 19:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-27 19:27 UTC (permalink / raw)
To: Uwe Kleine-König
Cc: kbuild-all, clang-built-linux, linux-kernel, Jonathan Cameron
[-- Attachment #1: Type: text/plain, Size: 1701 bytes --]
Hi Uwe,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4e99b32169e84b4ece5a1d74eb0b7e4ef07866b3
commit: e4c5c4dfaa88e49f33e8c11b52c65c630c0b12a7 iio: adc: new driver to support Linear technology's ltc2496
date: 7 months ago
config: mips-randconfig-r001-20200628 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project a43b99a1e38e2beffb68a6db93f216f511e7fd41)
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 mips cross compiling tool for clang build
# apt-get install binutils-mips-linux-gnu
git checkout e4c5c4dfaa88e49f33e8c11b52c65c630c0b12a7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=mips
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/ltc2496.c:90:34: warning: unused variable 'ltc2496_of_match' [-Wunused-const-variable]
static const struct of_device_id ltc2496_of_match[] = {
^
1 warning generated.
vim +/ltc2496_of_match +90 drivers/iio/adc/ltc2496.c
89
> 90 static const struct of_device_id ltc2496_of_match[] = {
91 { .compatible = "lltc,ltc2496", },
92 {},
93 };
94 MODULE_DEVICE_TABLE(of, ltc2496_of_match);
95
---
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: 25257 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-27 19:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-27 19:27 drivers/iio/adc/ltc2496.c:90:34: warning: unused variable 'ltc2496_of_match' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox