netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: arc: select CRC32
@ 2021-10-12  9:15 Vegard Nossum
  2021-10-12  9:34 ` [PATCH v2] " Vegard Nossum
  0 siblings, 1 reply; 3+ messages in thread
From: Vegard Nossum @ 2021-10-12  9:15 UTC (permalink / raw)
  To: David S. Miller, Jakub Kicinski, Beniamino Galvani
  Cc: netdev, linux-kernel, Vegard Nossum, Arnd Bergmann

Fix the following build/link error by adding a dependency on the CRC32
routines:

  ld: drivers/net/ethernet/arc/emac_main.o: in function `arc_emac_set_rx_mode':
  emac_main.c:(.text+0xb11): undefined reference to `crc32_le'

The crc32_le() call comes through the ether_crc_le() call in
arc_emac_set_rx_mode().

Fixes: 775dd682e2b0ec ("arc_emac: implement promiscuous mode and multicast filtering")
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
---
 drivers/net/ethernet/arc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ethernet/arc/Kconfig b/drivers/net/ethernet/arc/Kconfig
index 37a41773dd435..330185b624d03 100644
--- a/drivers/net/ethernet/arc/Kconfig
+++ b/drivers/net/ethernet/arc/Kconfig
@@ -6,6 +6,7 @@
 config NET_VENDOR_ARC
 	bool "ARC devices"
 	default y
+	select CRC32
 	help
 	  If you have a network (Ethernet) card belonging to this class, say Y.
 
-- 
2.23.0.718.g5ad94255a8


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-13 16:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-12  9:15 [PATCH] net: arc: select CRC32 Vegard Nossum
2021-10-12  9:34 ` [PATCH v2] " Vegard Nossum
2021-10-13 16:20   ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).