Kees Cook c51756d56e
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 <keescook@chromium.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180629184740.GA37415@beast
2018-07-04 17:44:10 +02:00
..
2018-06-27 21:43:48 +02:00
2018-07-02 18:45:56 +03:00
2017-06-01 09:47:23 +02:00
2018-03-01 10:41:27 +01:00
2018-07-02 18:45:56 +03:00
2018-01-04 20:37:17 +01:00
2018-07-02 18:45:56 +03:00
2018-07-04 17:44:10 +02:00
2017-12-05 13:22:44 +01:00
2017-12-05 13:22:44 +01:00