summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/cfg/5000.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-06-29 21:48:50 +0300
committerBorislav Petkov <bp@suse.de>2018-07-09 12:33:02 +0300
commit6663484b4e2d98f5609dc1b90fe4c242dd8fe18a (patch)
tree613906b2b343dab28743ee97f4e24ac1727f5145 /drivers/net/wireless/intel/iwlwifi/cfg/5000.c
parent6c974d4dfafe5e9ee754f2a6fba0eb1864f1649e (diff)
downloadlinux-6663484b4e2d98f5609dc1b90fe4c242dd8fe18a.tar.xz
EDAC, thunderx: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], switch to using a kmalloc-allocated buffer instead of stack space. This should be fine since the existing routine is allocating memory too. Signed-off-by: Kees Cook <keescook@chromium.org> Acked-by: Jan Glauber <jglauber@cavium.com> Cc: David Daney <david.daney@cavium.com> Cc: linux-edac <linux-edac@vger.kernel.org> Link: http://lkml.kernel.org/r/20180629184850.GA37464@beast Link: https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com [1] Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/cfg/5000.c')
0 files changed, 0 insertions, 0 deletions