Skip to content

Commit

Permalink
drm: savage: compat fix from drm git.
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Airlie <airlied@linux.ie>
  • Loading branch information
Eric Anholt authored and Dave Airlie committed Dec 19, 2006
1 parent 1d6bb8e commit 183b4ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/char/drm/savage_bci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 183b4ae

Please sign in to comment.