]> git.baikalelectronics.ru Git - kernel.git/commit
lan78xx: select CRC32
authorVegard Nossum <vegard.nossum@oracle.com>
Fri, 15 Oct 2021 13:07:54 +0000 (15:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Oct 2021 13:34:35 +0000 (14:34 +0100)
commit0fc8483f2a559bceda928d9d3ec9ce81493ab10d
tree04828641a208943a9454ca232280231343f3ec90
parentd112c07a0f57dbfb7cacd012efa4e0fc537686b8
lan78xx: select CRC32

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: f98af78833e91 ("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>
drivers/net/usb/Kconfig