]> 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)
commitaac8e83049df9d3d18cdeb559d2e2e7a15e02ab7
treee821a746cdd9ffb9d6b0f3bb7191e2dc97fc39b9
parent55d82a7e2d2520eb460dca07e53c1cd0a552a853
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: f42e291a7e6b ("raid5-cache: use crc32c checksum")
Signed-off-by: NeilBrown <neilb@suse.com>
drivers/md/Kconfig