diff options
author | Kees Cook <keescook@chromium.org> | 2018-06-29 03:04:21 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2018-08-13 23:40:52 +0300 |
commit | d8dfa59f5a512a536b80a4a8f12fa993683f48df (patch) | |
tree | 7060f000c65ca25700fa42da810a5875f7f9a710 /drivers/gpu/drm | |
parent | 699112f5e831c088ff6aeea594d23ebecf6bd806 (diff) | |
download | linux-d8dfa59f5a512a536b80a4a8f12fa993683f48df.tar.xz |
bus: imx-weim: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], this
switches to using a maximum size and adds a sanity check.
[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/gpu/drm')
0 files changed, 0 insertions, 0 deletions