Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=183b4aeefa1ff8e0a792b95d5d56f0994d022449 Commit: 183b4aeefa1ff8e0a792b95d5d56f0994d022449 Parent: 1d6bb8e51dba3db1c15575901022fe72d363e5a4 Author: Eric Anholt <[EMAIL PROTECTED]> AuthorDate: Tue Dec 19 17:20:02 2006 +1100 Committer: Dave Airlie <[EMAIL PROTECTED]> CommitDate: Tue Dec 19 17:20:02 2006 +1100
drm: savage: compat fix from drm git. Signed-off-by: Dave Airlie <[EMAIL PROTECTED]> --- drivers/char/drm/savage_bci.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/char/drm/savage_bci.c b/drivers/char/drm/savage_bci.c index a9a84f8..b94fab5 100644 --- a/drivers/char/drm/savage_bci.c +++ b/drivers/char/drm/savage_bci.c @@ -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; } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html