Skip to content

Commit 19cd340

Browse files
arndbaxboe
authored andcommitted
lightnvm: select CONFIG_CRC32
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: a4bd217 ("lightnvm: physical block device (pblk) target") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
1 parent 36a106a commit 19cd340

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/lightnvm/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ if NVM
1919

2020
config NVM_PBLK
2121
tristate "Physical Block Device Open-Channel SSD target"
22+
select CRC32
2223
help
2324
Allows an open-channel SSD to be exposed as a block device to the
2425
host. The target assumes the device exposes raw flash and must be

0 commit comments

Comments
 (0)