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: NHimanshu Jha <himanshujha199640@gmail.com> Reviewed-by: NSinclair Yeh <syeh@vmware.com> Signed-off-by: NThomas Hellstrom <thellstrom@vmware.com>
Showing
想要评论请 注册 或 登录