tree: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-5.13/upstream-fixes
head: 624d8a18c8cd62e7613a9b2b6850205e0b6b9c7d
commit: 2d21c6e884482b01b3878be220c51368a442bcc6 [3/17] HID: core: Add a hid_is_usb_device() helper function
config: i386-randconfig-c021-20210526 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git/commit/?id=2d21c6e884482b01b3878be220c51368a442bcc6
git remote add hid https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git
git fetch --no-tags hid for-5.13/upstream-fixes
git checkout 2d21c6e884482b01b3878be220c51368a442bcc6
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>
All errors (new ones prefixed by >>):
ld: drivers/hid/hid-core.o: in function `hid_is_using_ll_driver':quoted
include/linux/hid.h:837: undefined reference to `usb_hid_driver'
vim +837 include/linux/hid.h
fc2237a724a9e4 Jason Gerecke 2017-07-24 833
fc2237a724a9e4 Jason Gerecke 2017-07-24 834 static inline bool hid_is_using_ll_driver(struct hid_device *hdev,
fc2237a724a9e4 Jason Gerecke 2017-07-24 835 struct hid_ll_driver *driver)
fc2237a724a9e4 Jason Gerecke 2017-07-24 836 {
fc2237a724a9e4 Jason Gerecke 2017-07-24 @837 return hdev->ll_driver == driver;
fc2237a724a9e4 Jason Gerecke 2017-07-24 838 }
fc2237a724a9e4 Jason Gerecke 2017-07-24 839
:::::: The code at line 837 was first introduced by commit
:::::: fc2237a724a9e448599076d7d23497f51e2f7441 HID: introduce hid_is_using_ll_driver
:::::: TO: Jason Gerecke [off-list ref]
:::::: CC: Jiri Kosina [off-list ref]
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org