diff options
author | Kees Cook | 2018-07-24 19:11:26 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz | 2018-07-24 19:11:26 +0200 |
commit | 4a1208c5b46a711d7d8bb2b327ae5c2b144a8e72 (patch) | |
tree | 2ca7439003be05fc0e025c8696b566a8f64a27f0 /lib/crc32.c | |
parent | 31e1391af210fdbf177966579a83d14e6a4cd828 (diff) |
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/crc32.c')
0 files changed, 0 insertions, 0 deletions