Re: [PATCH] EDAC, thunderx: Remove VLA usage

From: Borislav Petkov
Date: Mon Jul 09 2018 - 05:38:16 EST


On Fri, Jul 06, 2018 at 01:42:16PM +0200, Jan Glauber wrote:
> On Fri, Jun 29, 2018 at 11:48:50AM -0700, Kees Cook wrote:
> > In the quest to remove all stack VLA usage from the kernel[1], this
> > switches to using a kmalloc-allocated buffer instead of stack space.
> > This should be fine since the existing routine is allocating memory
> > too.
> >
> > [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@xxxxxxxxxxxxxx
> >
> > Cc: David Daney <david.daney@xxxxxxxxxx>
> > Cc: Jan Glauber <jglauber@xxxxxxxxxx>
> > Cc: Borislav Petkov <bp@xxxxxxxxx>
> > Cc: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
> > Cc: linux-edac@xxxxxxxxxxxxxxx
> > Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
>
> Acked-by: Jan Glauber <jglauber@xxxxxxxxxx>

Applied, thanks.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--