[driver-core:hid_is_usb 3/3] hppa-linux-ld: undefined reference to `usb_hid_driver'

From: kernel test robot
Date: Wed Dec 01 2021 - 19:46:00 EST


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: parisc-randconfig-r036-20211129 (https://download.01.org/0day-ci/archive/20211202/202112020808.AZ5usuXj-lkp@xxxxxxxxx/config)
compiler: hppa-linux-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=parisc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

hppa-linux-ld: drivers/hid/hid-lg.o: in function `lg_probe':
(.text+0x9fc): undefined reference to `usb_hid_driver'
>> hppa-linux-ld: (.text+0xa04): undefined reference to `usb_hid_driver'
hppa-linux-ld: drivers/hid/hid-samsung.o: in function `samsung_probe':
(.text+0x18): undefined reference to `usb_hid_driver'
hppa-linux-ld: (.text+0x1c): undefined reference to `usb_hid_driver'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx