Re: [PATCH] net: cdc_ncm: Fix build error

From: Bjørn Mork
Date: Wed Aug 26 2020 - 03:16:17 EST


YueHaibing <yuehaibing@xxxxxxxxxx> writes:

> If USB_NET_CDC_NCM is y and USB_NET_CDCETHER is m, build fails:
>
> drivers/net/usb/cdc_ncm.o:(.rodata+0x1d8): undefined reference to `usbnet_cdc_update_filter'
>
> Select USB_NET_CDCETHER for USB_NET_CDC_NCM to fix this.

Ouch. For some reason I assumed that was always selected with usbnet.
Thanks for fixing.



Bjørn