summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/mtrr/main.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-02-17 05:55:30 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-22 15:17:05 +0100
commitb382a5c3c592a53cdf0097e314dc9936f7eae16d (patch)
tree8cfcaa3de37a4a302c203a6e5681d19af535195d /arch/x86/kernel/cpu/mtrr/main.c
parentusb: host: ehci: Use dma_pool_zalloc() (diff)
downloadlinux-b382a5c3c592a53cdf0097e314dc9936f7eae16d.tar.xz
linux-b382a5c3c592a53cdf0097e314dc9936f7eae16d.zip
USB: chaoskey: Use kasprintf() over strcpy()/strcat()
Instead of kmalloc() with manually calculated values followed by multiple strcpy()/strcat() calls, just fold it all into a single kasprintf() call. Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/kernel/cpu/mtrr/main.c')
0 files changed, 0 insertions, 0 deletions