OSDN Git Service
(root)
/
android-x86
/
external-libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
caa4212
)
Cast user data to correct type in radeon_surface_free's copyin.
author
Eric Anholt
<anholt@freebsd.org>
Thu, 3 Feb 2005 01:05:34 +0000
(
01:05
+0000)
committer
Eric Anholt
<anholt@freebsd.org>
Thu, 3 Feb 2005 01:05:34 +0000
(
01:05
+0000)
shared-core/radeon_state.c
patch
|
blob
|
history
diff --git
a/shared-core/radeon_state.c
b/shared-core/radeon_state.c
index
2ce4493
..
165439b
100644
(file)
--- a/
shared-core/radeon_state.c
+++ b/
shared-core/radeon_state.c
@@
-1868,7
+1868,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))