Re: [PATCH] net: cdc_ncm: USB_NET_CDC_NCM selects USB_NET_CDCETHER

From: David Miller
Date: Fri Jul 24 2020 - 22:54:45 EST


From: trix@xxxxxxxxxx
Date: Thu, 23 Jul 2020 07:22:10 -0700

> From: Tom Rix <trix@xxxxxxxxxx>
>
> A link error
>
> ld: drivers/net/usb/cdc_ncm.o:
> undefined reference to `usbnet_cdc_update_filter'
>
> usbnet_cdc_update_filter is defined in cdc_ether.c
> Building of cdc_ether.o is controlled by USB_NET_CDCETHER
>
> Building of cdc_ncm.o is controlled by USB_NET_CDC_NCM
>
> So add a select USB_NET_CDCETHER to USB_NET_CDC_NCM
>
> Signed-off-by: Tom Rix <trix@xxxxxxxxxx>

Please indicate the appropriate target tree ('net' or 'net-next') in
your Subject line f.e. "[PATCH net-next] ..."

Please provide an appropriate and properly formatted Fixes: tag.

Thank you.