From: Randy Dunlap Date: Fri, 6 Nov 2009 23:33:45 +0000 (-0800) Subject: kmemleak: fix kconfig for crc32 build error X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b60e26a2f03d963f8c79ad7920d64abc4d38ecbc;p=openwrt%2Fstaging%2Fblogic.git 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: Randy Dunlap Signed-off-by: Catalin Marinas --- diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 30df5865ecbe..732b9f6ab1ee 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -352,6 +352,7 @@ config DEBUG_KMEMLEAK select DEBUG_FS if SYSFS select STACKTRACE if STACKTRACE_SUPPORT select KALLSYMS + select CRC32 help Say Y here if you want to enable the memory leak detector. The memory allocation/freeing is traced in a way