Re: [PATCH v17 1/7] usb: misc: Add onboard_usb_hub driver

From: Matthias Kaehlcke
Date: Thu Nov 18 2021 - 13:36:10 EST


On Fri, Nov 19, 2021 at 02:13:52AM +0800, kernel test robot wrote:
> Hi Matthias,
>
> I love your patch! Yet something to improve:
>
> [auto build test ERROR on robh/for-next]
> [also build test ERROR on driver-core/driver-core-testing linus/master v5.16-rc1 next-20211118]
> [cannot apply to usb/usb-testing]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch]
>
> url: https://github.com/0day-ci/linux/commits/Matthias-Kaehlcke/usb-misc-Add-onboard_usb_hub-driver/20211117-040918
> base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
> config: m68k-allmodconfig (attached as .config)
> compiler: m68k-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://github.com/0day-ci/linux/commit/faa2d834f6d4083b63ab466134738d1befaa83b6
> git remote add linux-review https://github.com/0day-ci/linux
> git fetch --no-tags linux-review Matthias-Kaehlcke/usb-misc-Add-onboard_usb_hub-driver/20211117-040918
> git checkout faa2d834f6d4083b63ab466134738d1befaa83b6
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=m68k
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>
> All errors (new ones prefixed by >>, old ones prefixed by <<):
>
> >> ERROR: modpost: "device_is_bound" [drivers/usb/misc/onboard_usb_hub.ko] undefined!

Looks like device_is_bound() needs to be exported to use it from a module.