summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHimanshu Jha <himanshujha199640@gmail.com>2018-03-08 00:08:24 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-09 09:40:21 -0800
commit01812ba34a9a7756a46a54f25ba0f02e727ff35c (patch)
tree3fa4f80c0078d0eac963bfb1ca41d552fc2be68c /arch
parent161c3bc30f3a07458f91f15e35d5b2e91fa617cc (diff)
downloadlinux-stable-01812ba34a9a7756a46a54f25ba0f02e727ff35c.tar.gz
linux-stable-01812ba34a9a7756a46a54f25ba0f02e727ff35c.tar.bz2
linux-stable-01812ba34a9a7756a46a54f25ba0f02e727ff35c.zip
usb: isp1760: Use kasprintf
Use kasprintf instead of combination of kmalloc and sprintf and therefore avoid unnecessary computation of string length. Also, remove the useless local variable. Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions