summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-05-24 19:24:36 +0200
committerBen Skeggs <bskeggs@redhat.com>2018-07-16 10:06:30 +0200
commit0d466901552a8b4e80cb3c0968e344751c2c9ac3 (patch)
tree2b76649f448fcfb1a026d3a755225b4c69263317 /arch
parentdrm/nouveau: Replace drm_dev_unref with drm_dev_put (diff)
downloadlinux-0d466901552a8b4e80cb3c0968e344751c2c9ac3.tar.xz
linux-0d466901552a8b4e80cb3c0968e344751c2c9ac3.zip
drm/nouveau/secboot/acr: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this allocates the working buffers before starting the writing so it won't abort in the middle. This needs an initial walk of the lists to figure out how large the buffer should be. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions