diff mbox series

block: rsxx: select CONFIG_CRC32

Message ID 20210103214254.1996764-1-arnd@kernel.org (mailing list archive)
State New, archived
Headers show
Series block: rsxx: select CONFIG_CRC32 | expand

Commit Message

Arnd Bergmann Jan. 3, 2021, 9:42 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de>

Without crc32, the driver fails to link:

arm-linux-gnueabi-ld: drivers/block/rsxx/config.o: in function `rsxx_load_config':
config.c:(.text+0x124): undefined reference to `crc32_le'

Fixes: 8722ff8cdbfa ("block: IBM RamSan 70/80 device driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/block/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Jens Axboe Jan. 3, 2021, 9:54 p.m. UTC | #1
On 1/3/21 2:42 PM, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> Without crc32, the driver fails to link:
> 
> arm-linux-gnueabi-ld: drivers/block/rsxx/config.o: in function `rsxx_load_config':
> config.c:(.text+0x124): undefined reference to `crc32_le'

Applied, thanks.
diff mbox series

Patch

diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index 262326973ee0..583b671b1d2d 100644
--- a/drivers/block/Kconfig
+++ b/drivers/block/Kconfig
@@ -445,6 +445,7 @@  config BLK_DEV_RBD
 config BLK_DEV_RSXX
 	tristate "IBM Flash Adapter 900GB Full Height PCIe Device Driver"
 	depends on PCI
+	select CRC32
 	help
 	  Device driver for IBM's high speed PCIe SSD
 	  storage device: Flash Adapter 900GB Full Height.