Messages in this thread | | | Date | Sun, 28 Jun 2020 03:27:41 +0800 | From | kernel test robot <> | Subject | drivers/iio/adc/ltc2496.c:90:34: warning: unused variable 'ltc2496_of_match' |
| |
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 [unhandled content-type:application/gzip] | |