Commit b60e26a2 authored by Randy Dunlap's avatar Randy Dunlap Committed by Catalin Marinas

kmemleak: fix kconfig for crc32 build error

kmemleak uses crc32 functions so it needs to select CRC32.
Fixes build error:

kmemleak.c:(.text+0x7ce62): undefined reference to `crc32_le'
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 04609ccc
...@@ -352,6 +352,7 @@ config DEBUG_KMEMLEAK ...@@ -352,6 +352,7 @@ config DEBUG_KMEMLEAK
select DEBUG_FS if SYSFS select DEBUG_FS if SYSFS
select STACKTRACE if STACKTRACE_SUPPORT select STACKTRACE if STACKTRACE_SUPPORT
select KALLSYMS select KALLSYMS
select CRC32
help help
Say Y here if you want to enable the memory leak Say Y here if you want to enable the memory leak
detector. The memory allocation/freeing is traced in a way detector. The memory allocation/freeing is traced in a way
......
Markdown is supported
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