commit | 6073a09210e06f39adabd682c282b3ee14c3d33d | [log] [tgz] |
---|---|---|
author | Himanshu Jha <himanshujha199640@gmail.com> | Thu Mar 22 10:33:03 2018 +0100 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Thu Mar 22 12:08:24 2018 +0100 |
tree | bdb272d1df41b0fa947fa35a9f5e4d1b2437068c | |
parent | 4e3e733b45df457147441b79cf2cb654c82ec402 [diff] |
drm/vmwgfx: Use kasprintf Use kasprintf instead of combination of kmalloc and sprintf. Also, remove the local variables used for storing the string length as they are not required now. Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>