mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-26 03:00:18 +01:00
Cast user data to correct type in radeon_surface_free's copyin.
This commit is contained in:
parent
03ddea5b27
commit
a36d5b33aa
1 changed files with 1 additions and 1 deletions
|
|
@ -1895,7 +1895,7 @@ 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 ) )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue