]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Oct 2021 07:54:25 +0000 (09:54 +0200)
commit691133acdbc162d085b447393297c07124f61238
tree6377d4bcfecb4eeaab83cd5992991ad4e539a22e
parent048a58e86f7846fcbc673ccd5a12158e5356257d
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: 1b266e200e31a ("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>
drivers/net/usb/Kconfig