]> git.itanic.dy.fi Git - linux-stable/commit
lightnvm: select CONFIG_CRC32
authorArnd Bergmann <arnd@arndb.de>
Sun, 3 Jan 2021 21:43:09 +0000 (22:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Jan 2021 13:05:37 +0000 (14:05 +0100)
commit006319327d21bac25d0460108118ef3fd4d6f65b
tree29812ca0280a26d9f0c50b1d0131510d39b5789c
parent46c15eeb0a8a85949fdcb07ed2b233b56b90571a
lightnvm: select CONFIG_CRC32

commit 19cd3403cb0d522dd5e10188eef85817de29e26e upstream.

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")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/lightnvm/Kconfig