[PATCH v1 -next] kasan: fix a missing header include of static_keys.h
Will Deacon
will at kernel.org
Wed Mar 9 04:14:08 PST 2022
On Wed, Mar 09, 2022 at 09:49:07AM +0000, Joey Gouly wrote:
> Hi Will,
>
> On Mon, Mar 07, 2022 at 10:03:30PM +0000, Will Deacon wrote:
> > 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
>
> I accidentally deleted my sign off when adding the Fixes tag, spotted when merging into next:
> https://lore.kernel.org/lkml/20220309081719.54964469@canb.auug.org.au/
>
> So here it is:
> Signed-off-by: Joey Gouly <joey.gouly at arm.com>
Thanks, I'll add that to the patch.
Will
More information about the linux-arm-kernel
mailing list