提交 f15e92d7 编写于 作者: D Dave Airlie

drm: fixup improper cast.

Signed-off-by: NDave Airlie <airlied@linux.ie>
上级 dfab1154
......@@ -1996,7 +1996,7 @@ static int radeon_surface_free(DRM_IOCTL_ARGS)
return DRM_ERR(EINVAL);
}
DRM_COPY_FROM_USER_IOCTL(memfree, (drm_radeon_mem_free_t __user *) data,
DRM_COPY_FROM_USER_IOCTL(memfree, (drm_radeon_surface_free_t __user *) data,
sizeof(memfree));
if (free_surface(filp, dev_priv, memfree.address))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册