Skip to content

Commit b690bd5

Browse files
arndbsnitm
authored andcommitted
dm zoned: select CONFIG_CRC32
Without crc32 support, this driver fails to link: arm-linux-gnueabi-ld: drivers/md/dm-zoned-metadata.o: in function `dmz_write_sb': dm-zoned-metadata.c:(.text+0xe98): undefined reference to `crc32_le' arm-linux-gnueabi-ld: drivers/md/dm-zoned-metadata.o: in function `dmz_check_sb': dm-zoned-metadata.c:(.text+0x7978): undefined reference to `crc32_le' Fixes: 3b1a94c ("dm zoned: drive-managed zoned block device target") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
1 parent f7b347a commit b690bd5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/md/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ config DM_ZONED
623623
tristate "Drive-managed zoned block device target support"
624624
depends on BLK_DEV_DM
625625
depends on BLK_DEV_ZONED
626+
select CRC32
626627
help
627628
This device-mapper target takes a host-managed or host-aware zoned
628629
block device and exposes most of its capacity as a regular block

0 commit comments

Comments
 (0)