Skip to contentSkip to conversation

block: rsxx: 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 block: rsxx: select CONFIG_CRC32

From: Arnd Bergmann <[email protected]>

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")
---
 drivers/block/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/block/Kconfig +1 -0
index 262326973ee0..583b671b1d2d 100644
@@ -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.
Signature · 1 line
2.29.2
maintainer Applied
#1 lore raw
Quoted 6 lines · Arnd Bergmann

From: Arnd Bergmann <[email protected]>

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.

Signature · 1 line
Jens Axboe