* drivers/usb/gadget/udc/max3420_udc.c:1311:34: warning: unused variable 'max3420_udc_of_match'
@ 2021-04-25 23:49 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-04-25 23:49 UTC (permalink / raw)
To: Jassi Brar; +Cc: kbuild-all, clang-built-linux, linux-kernel, Felipe Balbi
[-- Attachment #1: Type: text/plain, Size: 2064 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34160 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* drivers/usb/gadget/udc/max3420_udc.c:1311:34: warning: unused variable 'max3420_udc_of_match'
@ 2020-07-28 6:07 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-07-28 6:07 UTC (permalink / raw)
To: Jassi Brar; +Cc: kbuild-all, clang-built-linux, linux-kernel, Felipe Balbi
[-- Attachment #1: Type: text/plain, Size: 1736 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 92ed301919932f777713b9172e525674157e983d
commit: 48ba02b2e2b1a1c80718e93fefe99c8319597c4a usb: gadget: add udc driver for max3420
date: 5 months ago
config: x86_64-randconfig-r001-20200728 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project e57464151d4c4912a7ec4d6fd0920056b2f75c7c)
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 48ba02b2e2b1a1c80718e93fefe99c8319597c4a
# 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/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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 39810 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-25 23:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-25 23:49 drivers/usb/gadget/udc/max3420_udc.c:1311:34: warning: unused variable 'max3420_udc_of_match' kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2020-07-28 6:07 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;
as well as URLs for NNTP newsgroup(s).