linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [hid:for-5.13/upstream-fixes 3/17] include/linux/hid.h:837: undefined reference to `usb_hid_driver'
@ 2021-05-26 16:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-26 16:09 UTC (permalink / raw)
  To: Hans de Goede; +Cc: kbuild-all, linux-input, Jiri Kosina

[-- Attachment #1: Type: text/plain, Size: 1925 bytes --]

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@intel.com>

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@gmail.com>
:::::: CC: Jiri Kosina <jkosina@suse.cz>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35690 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-26 16:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-26 16:09 [hid:for-5.13/upstream-fixes 3/17] include/linux/hid.h:837: undefined reference to `usb_hid_driver' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).