[PATCH v1 -next] kasan: fix a missing header include of static_keys.h

Will Deacon will at kernel.org
Mon Mar 7 14:03:30 PST 2022


On Tue, 1 Mar 2022 15:45:18 +0000, Joey Gouly wrote:
> The kasan-enabled.h header relies on static keys, so make sure
> to include the header to avoid compilation errors (with JUMP_LABEL=n).
> 
> It fixes the following:
> ./include/linux/kasan-enabled.h:9:1: warning: data definition has no type or storage class
>     9 | DECLARE_STATIC_KEY_FALSE(kasan_flag_enabled);
>       | ^~~~~~~~~~~~~~~~~~~~~~~~
> error: type defaults to 'int' in declaration of 'DECLARE_STATIC_KEY_FALSE' [-Werror=implicit-int]
> 
> [...]

Applied to arm64 (for-next/mte), thanks!

[1/1] kasan: fix a missing header include of static_keys.h
      https://git.kernel.org/arm64/c/1a7b2121ebd3

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list