diff options
author | Kees Cook <keescook@chromium.org> | 2018-07-24 19:11:26 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-07-24 19:11:26 +0200 |
commit | 4a1208c5b46a711d7d8bb2b327ae5c2b144a8e72 (patch) | |
tree | 2ca7439003be05fc0e025c8696b566a8f64a27f0 /lib/test_debug_virtual.c | |
parent | video: fbdev: pxafb: Add support for lcd-supply regulator (diff) | |
download | linux-4a1208c5b46a711d7d8bb2b327ae5c2b144a8e72.tar.xz linux-4a1208c5b46a711d7d8bb2b327ae5c2b144a8e72.zip |
video: fbdev: fsl-diu-fb: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this moves
the buffer off the stack (since it could be as much as 1024 bytes), and
uses a new area in the cursor data structure. Additionally adds missed
documentation and removes redundant assignments.
[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Acked-by: Timur Tabi <timur@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'lib/test_debug_virtual.c')
0 files changed, 0 insertions, 0 deletions