From: "Silvan Jegen" <s.jegen@gmail.com>
To: Jiri Kosina <jikos@kernel.org>
Cc: kernel test robot <lkp@intel.com>, Vicki Pfau <vi@endrift.com>,
oe-kbuild-all@lists.linux.dev, linux-input@vger.kernel.org
Subject: Re: [hid:for-7.4/nintendo 2/5] drivers/hid/hid-nintendo.c:3993:undefined reference to `hid_is_usb
Date: Sat, 17 Oct 2026 15:55:09 +0200 [thread overview]
Message-ID: <224MMXDV49Y20.3OGRUP8M1CBFH@homearch.localdomain> (raw)
In-Reply-To: <8q2ss5so-r679-247p-o8q3-pror0844p3nr@xreary.bet>
Jiri Kosina <jikos@kernel.org> wrote:
> On Sat, 17 Oct 2026, Silvan Jegen wrote:
>
> > Heyhey!
> >
> > kernel test robot <lkp@intel.com> wrote:
> > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-7.4/nintendo
> > > head: 77c7155e2707ba5b1d56f3dc1acead48cf17f98d
> > > commit: 9417132df63e5cd7230433af05198538e759f3ae [2/5] HID: nintendo: Add preliminary Switch 2 controller driver
> > > config: i386-randconfig-1001-20261016 (https://download.01.org/0day-ci/archive/20261017/202610171559.gZ0QBMFv-lkp@intel.com/config)
> > > compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
> > > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261017/202610171559.gZ0QBMFv-lkp@intel.com/reproduce)
> > >
> > > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > > the same patch/commit), kindly add following tags
> > > | Reported-by: kernel test robot <lkp@intel.com>
> > > | Closes: https://lore.kernel.org/oe-kbuild-all/202610171559.gZ0QBMFv-lkp@intel.com/
> > >
> > > All errors (new ones prefixed by >>):
> > >
> > > ld: drivers/hid/hid-nintendo.o: in function `switch2_probe':
> > > >> drivers/hid/hid-nintendo.c:3993:(.text+0x6cd7): undefined reference to `hid_is_usb'
> >
> > I might be doing something wrong but I have checked out "for-7.4/nintendo"
> > from the https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git
> > remote and my build finished without errors ...
> >
> > So I'm not able to reproduce this issue locally.
>
> Did you use config from
>
> https://download.01.org/0day-ci/archive/20261017/202610171559.gZ0QBMFv-lkp@intel.com/config
>
> ? I am pretty sure the culprit is that USB_HID is unset.
Ah, I missed that this config was used.
USB_HID is indeed unset in this config.
>
> We'd need 'depends on USB_HID' for CONFIG_HID_NINTENDO.
Yes, that makes sense!
I'm not familiar with the correct process in this case. Should Vickie
write a patch based on the
https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-7.4/nintendo
branch or will you fix it up on your side?
Cheers,
Silvan
next prev parent reply other threads:[~2026-10-17 13:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-17 7:25 [hid:for-7.4/nintendo 2/5] drivers/hid/hid-nintendo.c:3993:undefined reference to `hid_is_usb' kernel test robot
2026-10-17 13:12 ` Silvan Jegen
2026-10-17 13:24 ` Jiri Kosina
2026-10-17 13:55 ` Silvan Jegen [this message]
2026-10-19 7:16 ` [hid:for-7.4/nintendo 2/5] drivers/hid/hid-nintendo.c:3993:undefined reference to `hid_is_usb Jiri Kosina
2026-10-19 10:15 ` [PATCH] HID: nintendo: introduce dependency in USB_HID Jiri Kosina
2026-10-19 17:44 ` Silvan Jegen
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=224MMXDV49Y20.3OGRUP8M1CBFH@homearch.localdomain \
--to=s.jegen@gmail.com \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=vi@endrift.com \
/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