summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVegard Nossum <vegard.nossum@oracle.com>2021-10-15 15:07:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-27 09:54:25 +0200
commitf49ce82f9b7c4a6cf12e82f5a6940056d5cb58d7 (patch)
tree6377d4bcfecb4eeaab83cd5992991ad4e539a22e
parent83094f8c44cb6cc4a0beca1237f0b728d8790e68 (diff)
downloadlinux-stable-f49ce82f9b7c4a6cf12e82f5a6940056d5cb58d7.tar.gz
linux-stable-f49ce82f9b7c4a6cf12e82f5a6940056d5cb58d7.tar.bz2
linux-stable-f49ce82f9b7c4a6cf12e82f5a6940056d5cb58d7.zip
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 <vegard.nossum@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--drivers/net/usb/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/Kconfig b/drivers/net/usb/Kconfig
index ca234d1a0e3b..d7005cc76ce9 100644
--- a/drivers/net/usb/Kconfig
+++ b/drivers/net/usb/Kconfig
@@ -117,6 +117,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.