Messages in this thread | | | Date | Wed, 4 Jul 2018 08:48:02 +0200 | From | Martin Schwidefsky <> | Subject | Re: [PATCH] RAID/s390: Remove VLA usage |
| |
On Tue, 3 Jul 2018 12:52:21 -0700 Kees Cook <keescook@chromium.org> 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@mail.gmail.com > > Signed-off-by: Kees Cook <keescook@chromium.org> > --- > 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.
| |