Messages in this thread | | | Date | Mon, 26 Apr 2021 07:49:38 +0800 | From | kernel test robot <> | Subject | drivers/usb/gadget/udc/max3420_udc.c:1311:34: warning: unused variable 'max3420_udc_of_match' |
| |
Hi Jassi,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9f4ad9e425a1d3b6a34617b8ea226d56a119a717 commit: 48ba02b2e2b1a1c80718e93fefe99c8319597c4a usb: gadget: add udc driver for max3420 date: 1 year, 1 month ago config: x86_64-randconfig-r001-20210426 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 6fca189532511da1b48e8c0d9aad8ff2edca382d) 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=48ba02b2e2b1a1c80718e93fefe99c8319597c4a git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 48ba02b2e2b1a1c80718e93fefe99c8319597c4a # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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/usb/gadget/udc/max3420_udc.c:1311:34: warning: unused variable 'max3420_udc_of_match' [-Wunused-const-variable] static const struct of_device_id max3420_udc_of_match[] = { ^ 1 warning generated.
vim +/max3420_udc_of_match +1311 drivers/usb/gadget/udc/max3420_udc.c
1310 > 1311 static const struct of_device_id max3420_udc_of_match[] = { 1312 { .compatible = "maxim,max3420-udc"}, 1313 { .compatible = "maxim,max3421-udc"}, 1314 {}, 1315 }; 1316 MODULE_DEVICE_TABLE(of, max3420_udc_of_match); 1317
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |