summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-04-29 08:00:53 -0700
committerBoris Brezillon <boris.brezillon@bootlin.com>2018-04-30 16:11:16 +0200
commit27ab41e2c183e960a045c8f3b87b2341a5f10f19 (patch)
tree0168e650060ee93e20af3692c9ddd98fbab0651d /kernel
parent7cc9aa669a5119a8d70b22c57779d1decd4d0d62 (diff)
downloadlinux-27ab41e2c183e960a045c8f3b87b2341a5f10f19.tar.gz
linux-27ab41e2c183e960a045c8f3b87b2341a5f10f19.tar.bz2
linux-27ab41e2c183e960a045c8f3b87b2341a5f10f19.zip
mtd: nftl: Remove VLA usage
On the quest to remove all stack VLAs from the kernel[1] this changes the check_free_sectors() routine to use a kmalloc()ed buffer instead of a large VLA stack buffer. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions