All of lore.kernel.org
 help / color / mirror / Atom feed
* [hid:for-5.8/asus 3/7] include/linux/hid.h:829: undefined reference to `usb_hid_driver'
@ 2020-05-08  0:07 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-08  0:07 UTC (permalink / raw)
  To: kbuild-all

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

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

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 <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(a)lists.01.org

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

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

only message in thread, other threads:[~2020-05-08  0:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-08  0:07 [hid:for-5.8/asus 3/7] include/linux/hid.h:829: undefined reference to `usb_hid_driver' kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.