lkml.org 
[lkml]   [2021]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] r8152: select CRC32 and CRYPTO/CRYPTO_HASH/CRYPTO_SHA256
From
Date
On 10/11/21 5:22 PM, Vegard Nossum wrote:
> Fix the following build/link errors by adding a dependency on
> CRYPTO, CRYPTO_HASH, CRYPTO_SHA256 and CRC32:
>
> ld: drivers/net/usb/r8152.o: in function `rtl8152_fw_verify_checksum':
> r8152.c:(.text+0x2b2a): undefined reference to `crypto_alloc_shash'
> ld: r8152.c:(.text+0x2bed): undefined reference to `crypto_shash_digest'
> ld: r8152.c:(.text+0x2c50): undefined reference to `crypto_destroy_tfm'
> ld: drivers/net/usb/r8152.o: in function `_rtl8152_set_rx_mode':
> r8152.c:(.text+0xdcb0): undefined reference to `crc32_le'
>

We could also add:

Fixes: 9370f2d05a2a1 ("r8152: support request_firmware for RTL8153")

for the crypto_*() calls and

Fixes: ac718b69301c7 ("net/usb: new driver for RTL8152")

for the crc32_le() call (through ether_crc()).

(Sorry I forgot to add this the first time around.)


Vegard

\
 
 \ /
  Last update: 2021-10-11 19:16    [W:0.053 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site