Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm Fix copypasto in com...



details:   https://anonhg.NetBSD.org/src/rev/6f3b66b88942
branches:  riastradh-drm2
changeset: 788116:6f3b66b88942
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 02:18:59 2013 +0000

description:
Fix copypasto in commit ffe8f68e48d8cfe8d22a8f2bea1ea5825e8d5b49.

Diff of sys/external/bsd/drm2/dist between vendor/LINUX_DRM2 and HEAD
is supposed to be only additions.

diffstat:

 sys/external/bsd/drm2/dist/drm/drm_crtc.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f9aa44169b7f -r 6f3b66b88942 sys/external/bsd/drm2/dist/drm/drm_crtc.c
--- a/sys/external/bsd/drm2/dist/drm/drm_crtc.c Wed Jul 24 02:18:42 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_crtc.c Wed Jul 24 02:18:59 2013 +0000
@@ -3594,7 +3594,7 @@
 #ifdef __NetBSD__
        g_base = (char *)r_base + size;
 #else
-       g_base = (char *)r_base + size;
+       g_base = r_base + size;
 #endif
        if (copy_to_user((void __user *)(unsigned long)crtc_lut->green, g_base, size)) {
                ret = -EFAULT;



Home | Main Index | Thread Index | Old Index