mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 09:49:58 -04:00
drm: savage: compat fix from drm git.
Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
@@ -963,8 +963,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user