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-...@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 <l...@intel.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-gre...@linuxfoundation.org
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to