drm/vmwgfx: Handle vmalloc() failure in vmw_local_fifo_reserve()
If vmalloc() fails then we need to a bit of cleanup before returning. Cc: <stable@vger.kernel.org> Fixes: fb1d9738 ("drm/vmwgfx: Add DRM driver for VMware Virtual GPU") Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Reviewed-by: NSinclair Yeh <syeh@vmware.com>
Showing
想要评论请 注册 或 登录