[hid:for-5.13/upstream-fixes 3/17] include/linux/hid.h:837: undefined reference to `usb_hid_driver'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   ld: drivers/hid/hid-core.o: in function `hid_is_using_ll_driver':
>> 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 <killertofu@xxxxxxxxx>
:::::: CC: Jiri Kosina <jkosina@xxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux