Re: [PATCH] [stable 4.14 patch] x86: fix KMEMCHECK warning about FRAME_POINTER

From: Greg Kroah-Hartman
Date: Wed Feb 21 2018 - 06:26:38 EST


On Fri, Feb 16, 2018 at 04:29:10PM +0100, Arnd Bergmann wrote:
> When KMEMCHECK is enabled without UNWINDER_FRAME_POINTER, we get a
> Kconfig warning, presumably harmless:
>
> warning: (FAULT_INJECTION_STACKTRACE_FILTER && LATENCYTOP && KMEMCHECK && LOCKDEP && UNWINDER_FRAME_POINTER) selects FRAME_POINTER which has unmet direct dependencies (DEBUG_KERNEL && (CRIS || M68K || FRV || UML || SUPERH || BLACKFIN || MN10300 || METAG) || ARCH_WANT_FRAME_POINTERS || !UNWINDER_ORC && !UNWINDER_GUESS)
>
> In newer mainline kernels, the KMEMCHECK option has been removed, so
> this no longer happens. Adding the unwinder as a direct dependency
> for KMEMCHECK works for 4.14-stable as well and documents the
> dependency better.

4.14.y now has that option removed as well, as I just removed all of
kmemcheck as it was "getting in the way" of other patches, so this isn't
needed anymore.

thanks,

greg k-h