[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YanS+GtWEaYNoT7z@kroah.com>
Date: Fri, 3 Dec 2021 09:19:04 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: kernel test robot <lkp@...el.com>
Cc: devel@...verdev.osuosl.org, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: Re: [driver-core:hid_is_usb 4/4] nios2-linux-ld:
hid-prodikeys.c:undefined reference to `usb_hid_driver'
On Fri, Dec 03, 2021 at 05:07:11AM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git hid_is_usb
> head: be29771805ee7d748ac02a0df3e1e10f5ead521f
> commit: be29771805ee7d748ac02a0df3e1e10f5ead521f [4/4] HID: add USB_HID dependancy on some USB HID drivers
> config: nios2-randconfig-r015-20211202 (https://download.01.org/0day-ci/archive/20211203/202112030506.aNZw7UPL-lkp@intel.com/config)
> compiler: nios2-linux-gcc (GCC) 11.2.0
> reproduce (this is a W=1 build):
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/commit/?id=be29771805ee7d748ac02a0df3e1e10f5ead521f
> git remote add driver-core https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git
> git fetch --no-tags driver-core hid_is_usb
> git checkout be29771805ee7d748ac02a0df3e1e10f5ead521f
> # save the config file to linux build tree
> mkdir build_dir
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
> nios2-linux-ld: drivers/hid/hid-chicony.o: in function `ch_probe':
> hid-chicony.c:(.text+0x4): undefined reference to `usb_hid_driver'
> nios2-linux-ld: hid-chicony.c:(.text+0x8): undefined reference to `usb_hid_driver'
> nios2-linux-ld: drivers/hid/hid-prodikeys.o: in function `pk_probe':
> hid-prodikeys.c:(.text+0x1150): undefined reference to `usb_hid_driver'
> >> nios2-linux-ld: hid-prodikeys.c:(.text+0x1154): undefined reference to `usb_hid_driver'
Thanks, patch posted for this:
https://lore.kernel.org/r/20211203081231.2856936-1-gregkh@linuxfoundation.org
Powered by blists - more mailing lists