diff options
Diffstat (limited to 'linux/r128_state.c')
-rw-r--r-- | linux/r128_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/r128_state.c b/linux/r128_state.c index 23840cde..42bd3661 100644 --- a/linux/r128_state.c +++ b/linux/r128_state.c @@ -1517,7 +1517,7 @@ int r128_cce_indirect( DRM_OS_IOCTL ) return -EINVAL; } - DRM_OS_KRNFROMUSR( indirect, (drm_r128_indirect_t *) arg, + DRM_OS_KRNFROMUSR( indirect, (drm_r128_indirect_t *) data, sizeof(indirect) ); DRM_DEBUG( "indirect: idx=%d s=%d e=%d d=%d\n", |