* [PATCH] lightnvm: select CONFIG_CRC32
@ 2021-01-03 21:43 Arnd Bergmann
2021-01-03 21:55 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2021-01-03 21:43 UTC (permalink / raw)
To: Matias Bjorling, Jens Axboe, Matias Bjørling,
Javier González
Cc: Arnd Bergmann, linux-block, linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
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>
---
drivers/lightnvm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/lightnvm/Kconfig b/drivers/lightnvm/Kconfig
index 8f39f9ba5c80..4c2ce210c123 100644
--- a/drivers/lightnvm/Kconfig
+++ b/drivers/lightnvm/Kconfig
@@ -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
--
2.29.2
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] lightnvm: select CONFIG_CRC32
2021-01-03 21:43 [PATCH] lightnvm: select CONFIG_CRC32 Arnd Bergmann
@ 2021-01-03 21:55 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2021-01-03 21:55 UTC (permalink / raw)
To: Arnd Bergmann, Matias Bjorling, Matias Bjørling,
Javier González
Cc: Arnd Bergmann, linux-block, linux-kernel
On 1/3/21 2:43 PM, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> 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.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-03 21:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-03 21:43 [PATCH] lightnvm: select CONFIG_CRC32 Arnd Bergmann
2021-01-03 21:55 ` Jens Axboe
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.