[PATCH] arm/kasan:fix the arry size of kasan_early_shadow_pte

Linus Walleij linus.walleij at linaro.org
Sun Jan 10 07:03:49 EST 2021


On Sun, Jan 10, 2021 at 11:21 AM hailong <hailongliiu at yeah.net> wrote:

> >> +#ifndef PTE_HWTABLE_PTRS
> >> +#define PTE_HWTABLE_PTRS 0
> >> +#endif
> >
> >Can this even happen? We have either pgtable-2level.h or
> >pgtable-3level.h, both of which define PTE_HWTABLE_PTRS.
> >
>
> I guess not for arm. But I'm not sure for other ARCHs.

Oh it's a generic include. Sorry for the confusion.

All good then!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list