]> git.baikalelectronics.ru Git - kernel.git/commit
raid5-cache: add crc32c Kconfig dependency
authorArnd Bergmann <arnd@arndb.de>
Tue, 3 Nov 2015 14:12:01 +0000 (15:12 +0100)
committerNeilBrown <neilb@suse.com>
Sun, 8 Nov 2015 22:09:52 +0000 (09:09 +1100)
commit536cb613ea3e2dfa3ac206a15c4c013a956edf0d
treee821a746cdd9ffb9d6b0f3bb7191e2dc97fc39b9
parentef806c15bdc5f648b8e806b22c99daff4db93ebe
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: 816a40a8c036 ("raid5-cache: use crc32c checksum")
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/Kconfig