Re: [PATCH] arm64: kfence: fix header inclusion

From: Catalin Marinas
Date: Tue Jan 26 2021 - 04:03:37 EST


On Mon, Jan 25, 2021 at 01:50:20PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> Randconfig builds started warning about a missing function declaration
> after set_memory_valid() is moved to a new file:
>
> In file included from mm/kfence/core.c:26:
> arch/arm64/include/asm/kfence.h:17:2: error: implicit declaration of function 'set_memory_valid' [-Werror,-Wimplicit-function-declaration]
>
> Include the correct header again.
>
> Fixes: 9e18ec3cfabd ("set_memory: allow querying whether set_direct_map_*() is actually enabled")
> Fixes: 204555ff8bd6 ("arm64, kfence: enable KFENCE for ARM64")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: Catalin Marinas <catalin.marinas@xxxxxxx>

(it should go via the mm tree with the other kfence patches)