From: kernel test robot <lkp@intel.com>
To: Hans de Goede <hdegoede@redhat.com>
Cc: kbuild-all@lists.01.org, linux-input@vger.kernel.org,
Jiri Kosina <jkosina@suse.cz>
Subject: [hid:for-5.13/upstream-fixes 3/17] include/linux/hid.h:837: undefined reference to `usb_hid_driver'
Date: Thu, 27 May 2021 00:09:40 +0800 [thread overview]
Message-ID: <202105270036.LlxEOQqs-lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2021-05-26 16:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202105270036.LlxEOQqs-lkp@intel.com \
--to=lkp@intel.com \
--cc=hdegoede@redhat.com \
--cc=jkosina@suse.cz \
--cc=kbuild-all@lists.01.org \
--cc=linux-input@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).