Re: [PATCH] RAID/s390: Remove VLA usage

2018-07-03 Thread Martin Schwidefsky
On Tue, 3 Jul 2018 12:52:21 -0700 Kees Cook 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-zNmZwX4A2FQpa

[PATCH] RAID/s390: Remove VLA usage

2018-07-03 Thread Kees Cook
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=qpxydaacu1rq...@mail.gmail.com Cc: Martin Schwidefsk