aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2018-07-03 12:52:21 -0700
committerMartin Schwidefsky <[email protected]>2018-07-04 08:37:50 +0200
commitad5728ce21398926a1215ebb38570113fa8edd99 (patch)
treef2b1b0b045f093c29b6e0bf94dbeef9e28de9586 /lib/mpi/mpiutil.c
parentd2f2df69885d0548ed5c0ba8fa2751497ba62352 (diff)
RAID/s390: Remove VLA usage
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 <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions