diff options
author | Kees Cook <[email protected]> | 2018-06-29 11:47:40 -0700 |
---|---|---|
committer | Maxime Ripard <[email protected]> | 2018-07-04 17:44:10 +0200 |
commit | c51756d56e20a12476e4e192b332fac39c1550ca (patch) | |
tree | 63e46f76fcf6dcb34b2aa30ee5084746d76c195f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 968d72e6a5105a18fe17c0a8b4ef2951d0eb42dd (diff) |
drm/sun4i: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this
switches to using a kmalloc allocation and moves all the size calculations
to the start to do an allocation. If an upper bounds on the mode timing
calculations could be determined, a fixed stack size could be used instead.
[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20180629184740.GA37415@beast
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions