tree: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-5.8/asus head: c4f0126d487f3c68ab19ccb7c561e8fbf3ea2247 commit: 4bc43a421218b6cebc7c926fea001b166ea3677c [3/7] HID: asus: Add hid_is_using_ll_driver(usb_hid_driver) check config: riscv-randconfig-r035-20200507 (attached as .config) compiler: riscv64-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 4bc43a421218b6cebc7c926fea001b166ea3677c # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=riscv If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot Note: the hid/for-5.8/asus HEAD c4f0126d487f3c68ab19ccb7c561e8fbf3ea2247 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): riscv64-linux-ld: drivers/hid/hid-asus.o: in function `hid_is_using_ll_driver': >> include/linux/hid.h:829: undefined reference to `usb_hid_driver' >> riscv64-linux-ld: include/linux/hid.h:829: undefined reference to `usb_hid_driver' vim +829 include/linux/hid.h fc2237a724a9e44 Jason Gerecke 2017-07-24 825 fc2237a724a9e44 Jason Gerecke 2017-07-24 826 static inline bool hid_is_using_ll_driver(struct hid_device *hdev, fc2237a724a9e44 Jason Gerecke 2017-07-24 827 struct hid_ll_driver *driver) fc2237a724a9e44 Jason Gerecke 2017-07-24 828 { fc2237a724a9e44 Jason Gerecke 2017-07-24 @829 return hdev->ll_driver == driver; fc2237a724a9e44 Jason Gerecke 2017-07-24 830 } fc2237a724a9e44 Jason Gerecke 2017-07-24 831 :::::: The code at line 829 was first introduced by commit :::::: fc2237a724a9e448599076d7d23497f51e2f7441 HID: introduce hid_is_using_ll_driver :::::: TO: Jason Gerecke :::::: CC: Jiri Kosina --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org