Re: [PATCH] RAID/s390: Remove VLA usage
From: Martin Schwidefsky
Date: Wed Jul 04 2018 - 02:48:17 EST
On Tue, 3 Jul 2018 12:52:21 -0700
Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> In the quest to remove all stack VLA usage from the kernel[1], this moves
> the "$#" replacement from being an argument to being inside the function,
> which avoids generating VLAs.
>
> [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@xxxxxxxxxxxxxx
>
> Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> ---
> lib/raid6/s390vx.uc | 34 ++++++++++++++++++----------------
> 1 file changed, 18 insertions(+), 16 deletions(-)
Added to s390:features for the next merge window. Thanks.
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.