diff options
author | Dave Airlie <airlied@linux.ie> | 2006-03-19 04:12:23 -0500 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-03-19 04:12:23 -0500 |
commit | f15e92d702bba47f451bd5f63e170252c6e1bba2 (patch) | |
tree | 069141762ad005348d1559369ba2e65eaf5c4fa5 /drivers/char | |
parent | dfab11542fbecd8539c092fe36155909b4812f73 (diff) |
drm: fixup improper cast.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/drm/radeon_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/radeon_state.c b/drivers/char/drm/radeon_state.c index 56e56b873616..b006b1c5d856 100644 --- a/drivers/char/drm/radeon_state.c +++ b/drivers/char/drm/radeon_state.c | |||
@@ -1996,7 +1996,7 @@ static int radeon_surface_free(DRM_IOCTL_ARGS) | |||
1996 | return DRM_ERR(EINVAL); | 1996 | return DRM_ERR(EINVAL); |
1997 | } | 1997 | } |
1998 | 1998 | ||
1999 | DRM_COPY_FROM_USER_IOCTL(memfree, (drm_radeon_mem_free_t __user *) data, | 1999 | DRM_COPY_FROM_USER_IOCTL(memfree, (drm_radeon_surface_free_t __user *) data, |
2000 | sizeof(memfree)); | 2000 | sizeof(memfree)); |
2001 | 2001 | ||
2002 | if (free_surface(filp, dev_priv, memfree.address)) | 2002 | if (free_surface(filp, dev_priv, memfree.address)) |