projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d6bb8e
)
drm: savage: compat fix from drm git.
author
Eric Anholt
<eric@anholt.net>
Tue, 19 Dec 2006 06:20:02 +0000
(17:20 +1100)
committer
Dave Airlie
<airlied@linux.ie>
Tue, 19 Dec 2006 06:20:02 +0000
(17:20 +1100)
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/savage_bci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/drm/savage_bci.c
b/drivers/char/drm/savage_bci.c
index a9a84f88df5e465ce2c9461e97b91bd9c48e074b..b94fab55680940dd44688052e0987634ad3b9cc1 100644
(file)
--- 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.cou
nt));
+ DRM_COPY_TO_USER_IOCTL(
(drm_savage_event_emit_t __user *) data,
+
event, sizeof(eve
nt));
return 0;
}