Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/dist/drm what was I thinking



details:   https://anonhg.NetBSD.org/src/rev/d7f446050de7
branches:  trunk
changeset: 1027915:d7f446050de7
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:15:56 2021 +0000

description:
what was I thinking

diffstat:

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

diffs (27 lines):

diff -r 71aeb027beeb -r d7f446050de7 sys/external/bsd/drm2/dist/drm/drm_atomic_uapi.c
--- a/sys/external/bsd/drm2/dist/drm/drm_atomic_uapi.c  Sun Dec 19 01:15:48 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_atomic_uapi.c  Sun Dec 19 01:15:56 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_atomic_uapi.c,v 1.3 2021/12/19 00:58:42 riastradh Exp $    */
+/*     $NetBSD: drm_atomic_uapi.c,v 1.4 2021/12/19 01:15:56 riastradh Exp $    */
 
 /*
  * Copyright (C) 2014 Red Hat
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_atomic_uapi.c,v 1.3 2021/12/19 00:58:42 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_atomic_uapi.c,v 1.4 2021/12/19 01:15:56 riastradh Exp $");
 
 #include <drm/drm_atomic_uapi.h>
 #include <drm/drm_atomic.h>
@@ -1104,7 +1104,7 @@
 
        /* Prepare to transmit it to user.  */
        /* XXX errno NetBSD->Linux */
-       ret = -copyout(&fence_state->fd, &fd, sizeof fd);
+       ret = -copyout(&fd, fence_state->out_fence_ptr, sizeof fd);
        if (ret)
                goto out;
 



Home | Main Index | Thread Index | Old Index