diff options
-rw-r--r-- | shared-core/savage_bci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/savage_bci.c b/shared-core/savage_bci.c index 5845412e..20fea40f 100644 --- a/shared-core/savage_bci.c +++ b/shared-core/savage_bci.c @@ -959,8 +959,8 @@ static int savage_bci_event_emit(DRM_IOCTL_ARGS) event.count = savage_bci_emit_event(dev_priv, event.flags); event.count |= dev_priv->event_wrap << 16; - DRM_COPY_TO_USER_IOCTL(&((drm_savage_event_emit_t __user *)data)-> - count, event.count, sizeof(event.count)); + DRM_COPY_TO_USER_IOCTL((drm_savage_event_emit_t __user *)data, + event, sizeof(event)); return 0; } |