[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202112021000.3GKuE8mS-lkp@intel.com>
Date: Thu, 2 Dec 2021 10:17:10 +0800
From: kernel test robot <lkp@...el.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: kbuild-all@...ts.01.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: [driver-core:hid_is_usb 3/3] arc-elf-ld: hid-corsair.c:undefined
reference to `usb_hid_driver'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git hid_is_usb
head: 0a6c579f381aa88f6e8f7cd5515056416e247a2b
commit: 0a6c579f381aa88f6e8f7cd5515056416e247a2b [3/3] HID: check for valid USB device for many HID drivers
config: arc-buildonly-randconfig-r001-20211128 (https://download.01.org/0day-ci/archive/20211202/202112021000.3GKuE8mS-lkp@intel.com/config)
compiler: arc-elf-gcc (GCC) 11.2.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/commit/?id=0a6c579f381aa88f6e8f7cd5515056416e247a2b
git remote add driver-core https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
git fetch --no-tags driver-core hid_is_usb
git checkout 0a6c579f381aa88f6e8f7cd5515056416e247a2b
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
arc-elf-ld: drivers/hid/hid-chicony.o: in function `ch_probe':
hid-chicony.c:(.text+0x16): undefined reference to `usb_hid_driver'
arc-elf-ld: hid-chicony.c:(.text+0x16): undefined reference to `usb_hid_driver'
arc-elf-ld: drivers/hid/hid-corsair.o: in function `corsair_probe':
hid-corsair.c:(.text+0x70e): undefined reference to `usb_hid_driver'
>> arc-elf-ld: hid-corsair.c:(.text+0x70e): undefined reference to `usb_hid_driver'
arc-elf-ld: drivers/hid/hid-lg.o: in function `lg_probe':
hid-lg.c:(.text+0x40c): undefined reference to `usb_hid_driver'
arc-elf-ld: drivers/hid/hid-lg.o:hid-lg.c:(.text+0x40c): more undefined references to `usb_hid_driver' follow
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists