From: Vegard Nossum Date: Fri, 15 Oct 2021 13:07:54 +0000 (+0200) Subject: lan78xx: select CRC32 X-Git-Tag: v4.19.214~29 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=58753ea5af096fb513ca758aab97262ca6fe8ac9;p=users%2Fdwmw2%2Flinux.git lan78xx: select CRC32 [ Upstream commit 46393d61a328d7c4e3264252dae891921126c674 ] Fix the following build/link error by adding a dependency on the CRC32 routines: ld: drivers/net/usb/lan78xx.o: in function `lan78xx_set_multicast': lan78xx.c:(.text+0x48cf): undefined reference to `crc32_le' The actual use of crc32_le() comes indirectly through ether_crc(). Fixes: 55d7de9de6c30 ("Microchip's LAN7800 family USB 2/3 to 10/100/1000 Ethernet device driver") Signed-off-by: Vegard Nossum Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- diff --git a/drivers/net/usb/Kconfig b/drivers/net/usb/Kconfig index cc2fd19577656..23fa0e2a75ff2 100644 --- a/drivers/net/usb/Kconfig +++ b/drivers/net/usb/Kconfig @@ -116,6 +116,7 @@ config USB_LAN78XX select PHYLIB select MICROCHIP_PHY select FIXED_PHY + select CRC32 help This option adds support for Microchip LAN78XX based USB 2 & USB 3 10/100/1000 Ethernet adapters.