Skip to contentSkip to conversation

lightnvm: select CONFIG_CRC32

PATCH Applied Arnd Bergmann 2 participants 2 messages Jan 3, 2021 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lightnvm: select CONFIG_CRC32

From: Arnd Bergmann <[email protected]>

Without CRC32 support, this fails to link:

arm-linux-gnueabi-ld: drivers/lightnvm/pblk-init.o: in function `pblk_init':
pblk-init.c:(.text+0x2654): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/lightnvm/pblk-init.o: in function `pblk_exit':
pblk-init.c:(.text+0x2a7c): undefined reference to `crc32_le'

Fixes a4bd217b4326 ("lightnvm: physical block device (pblk) target")
---
 drivers/lightnvm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/lightnvm/Kconfig +1 -0
index 8f39f9ba5c80..4c2ce210c123 100644
@@ -19,6 +19,7 @@ if NVM
 
 config NVM_PBLK
 	tristate "Physical Block Device Open-Channel SSD target"
+	select CRC32
 	help
 	  Allows an open-channel SSD to be exposed as a block device to the
 	  host. The target assumes the device exposes raw flash and must be
Signature · 1 line
2.29.2
Applied
#1 lore raw
Quoted 8 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

Without CRC32 support, this fails to link:

arm-linux-gnueabi-ld: drivers/lightnvm/pblk-init.o: in function `pblk_init':
pblk-init.c:(.text+0x2654): undefined reference to `crc32_le'
arm-linux-gnueabi-ld: drivers/lightnvm/pblk-init.o: in function `pblk_exit':
pblk-init.c:(.text+0x2a7c): undefined reference to `crc32_le'

Applied, thanks.

Signature · 1 line
Jens Axboe