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

Andrew Morton akpm at linux-foundation.org
Tue Jan 12 01:18:20 EST 2021


On Sun, 10 Jan 2021 13:03:49 +0100 Linus Walleij <linus.walleij at linaro.org> wrote:

> 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!
> 

This code is 2+ years old.  Do we think it warrants a cc:stable?



More information about the linux-arm-kernel mailing list