Skip to content

Commit

Permalink
drm: fixup improper cast.
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Airlie <airlied@linux.ie>
  • Loading branch information
Dave Airlie committed Mar 19, 2006
1 parent dfab115 commit f15e92d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/drm/radeon_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit f15e92d

Please sign in to comment.