Skip to content

Commit 7a93add

Browse files
arndbgregkh
authored andcommitted
nvmem: rmem: select CONFIG_CRC32
The newly added crc checking leads to a link failure if CRC32 itself is disabled: x86_64-linux-ld: vmlinux.o: in function `rmem_eyeq5_checksum': rmem.c:(.text+0x52341b): undefined reference to `crc32_le_arch' Fixes: 7e606c3 ("nvmem: rmem: add CRC validation for Mobileye EyeQ5 NVMEM") Cc: stable <stable@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Srinivas Kandagatla <srini@kernel.org> Link: https://lore.kernel.org/r/20250509122407.11763-2-srini@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent ff91020 commit 7a93add

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/nvmem/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ config NVMEM_RCAR_EFUSE
260260
config NVMEM_RMEM
261261
tristate "Reserved Memory Based Driver Support"
262262
depends on HAS_IOMEM
263+
select CRC32
263264
help
264265
This driver maps reserved memory into an nvmem device. It might be
265266
useful to expose information left by firmware in memory.

0 commit comments

Comments
 (0)