diff options
author | Himanshu Jha <himanshujha199640@gmail.com> | 2018-03-22 10:33:03 +0100 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-03-22 12:08:24 +0100 |
commit | 6073a09210e06f39adabd682c282b3ee14c3d33d (patch) | |
tree | bdb272d1df41b0fa947fa35a9f5e4d1b2437068c /drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c | |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c')
0 files changed, 0 insertions, 0 deletions