On Mon, Jul 13, 2020 at 11:34:11PM +0800, kernel test robot wrote:
Hi Sandeep,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on balbi-usb/testing/next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Sandeep-Maheswaram/usb-dwc3-Host...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/next
config: i386-randconfig-a012-20200713 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce (this is a W=1 build):
# 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(a)intel.com>
All errors (new ones prefixed by >>):
ld: drivers/usb/dwc3/core.o: in function `dwc3_suspend_common':
>> core.c:(.text+0x3f0f): undefined reference to `usb_hcd_is_primary_hcd'
>> ld: core.c:(.text+0x40c7): undefined reference to
`usb_wakeup_enabled_descendants'
The problem here seems to be that:
CONFIG_USB_DWC3=y
and
CONFIG_USB=m
Add a Kconfig condition that disallows usb_dwc3 to be builtin when the
USB core is built as a module?