commit | 01812ba34a9a7756a46a54f25ba0f02e727ff35c | [log] [tgz] |
---|---|---|
author | Himanshu Jha <himanshujha199640@gmail.com> | Thu Mar 08 00:08:24 2018 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Mar 09 09:40:21 2018 -0800 |
tree | 3fa4f80c0078d0eac963bfb1ca41d552fc2be68c | |
parent | 161c3bc30f3a07458f91f15e35d5b2e91fa617cc [diff] |
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>