Skip to content
Commit 14f09e2f authored by Arnd Bergmann's avatar Arnd Bergmann Committed by NeilBrown
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 5cb2fbd6 ("raid5-cache: use crc32c checksum")
Signed-off-by: default avatarNeilBrown <neilb@suse.com>
parent 69234ace
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment