diff options
author | Kees Cook <keescook@chromium.org> | 2018-07-03 21:52:21 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2018-07-04 08:37:50 +0200 |
commit | ad5728ce21398926a1215ebb38570113fa8edd99 (patch) | |
tree | f2b1b0b045f093c29b6e0bf94dbeef9e28de9586 /drivers/iommu | |
parent | s390/dasd: fix cast-function-type warnings (diff) | |
download | linux-ad5728ce21398926a1215ebb38570113fa8edd99.tar.xz linux-ad5728ce21398926a1215ebb38570113fa8edd99.zip |
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 <keescook@chromium.org>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions