diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-03 17:12:01 +0300 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2015-11-09 01:09:52 +0300 |
commit | 14f09e2f9b85076133b795a2d2615f635482de1b (patch) | |
tree | e821a746cdd9ffb9d6b0f3bb7191e2dc97fc39b9 /drivers/md/Kconfig | |
parent | 69234acee54407962a20bedf90ef9c96326994b5 (diff) | |
download | linux-14f09e2f9b85076133b795a2d2615f635482de1b.tar.xz |
raid5-cache: add crc32c Kconfig dependency
The recent change of the raid5-cache code to use crc32c instead
of crc32 causes link errors when CONFIG_LIBCRC32C is disabled:
drivers/built-in.o: In function crc32c'
core.c:(.text+0x1c6060): undefined reference to `crc32c'
This adds an explicit 'select' statement like all other users
of this function do.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 5cb2fbd6ea0d ("raid5-cache: use crc32c checksum")
Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'drivers/md/Kconfig')
-rw-r--r-- | drivers/md/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig index 3e01e6fb3424..7913fdcfc849 100644 --- a/drivers/md/Kconfig +++ b/drivers/md/Kconfig @@ -123,6 +123,7 @@ config MD_RAID456 tristate "RAID-4/RAID-5/RAID-6 mode" depends on BLK_DEV_MD select RAID6_PQ + select LIBCRC32C select ASYNC_MEMCPY select ASYNC_XOR select ASYNC_PQ |