1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/arc
Vegard Nossum e599ee234a net: arc: select CRC32
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().

[v2: moved the select to ARC_EMAC_CORE; the Makefile is a bit confusing,
but the error comes from emac_main.o, which is part of the arc_emac module,
which in turn is enabled by CONFIG_ARC_EMAC_CORE. Note that arc_emac is
different from emac_arc...]

Fixes: 775dd682e2 ("arc_emac: implement promiscuous mode and multicast filtering")
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Link: https://lore.kernel.org/r/20211012093446.1575-1-vegard.nossum@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-10-13 09:00:10 -07:00
..
emac.h net/arc: Delete driver version 2020-02-24 11:24:47 -08:00
emac_arc.c drivers/net/ethernet: add some basic kdoc tags 2020-09-25 16:29:00 -07:00
emac_main.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
emac_mdio.c net: arc_emac: Fix memleak in arc_mdio_probe 2020-08-24 17:59:44 -07:00
emac_rockchip.c net: arc: Demote non-compliant kernel-doc headers 2021-05-17 14:12:38 -07:00
Kconfig net: arc: select CRC32 2021-10-13 09:00:10 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00