[PATCH] arm64: kfence: fix header inclusion

Catalin Marinas catalin.marinas at arm.com
Mon Jan 25 13:46:21 EST 2021


On Mon, Jan 25, 2021 at 01:50:20PM +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd at arndb.de>
> 
> 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 at arndb.de>

Acked-by: Catalin Marinas <catalin.marinas at arm.com>

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



More information about the linux-arm-kernel mailing list