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/drm Update always_authenticated -> aut...



details:   https://anonhg.NetBSD.org/src/rev/8dbcf7c29a04
branches:  trunk
changeset: 834886:8dbcf7c29a04
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:49:12 2018 +0000

description:
Update always_authenticated -> authenticated.

diffstat:

 sys/external/bsd/drm2/drm/drm_fops.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r c24e53bab9e3 -r 8dbcf7c29a04 sys/external/bsd/drm2/drm/drm_fops.c
--- a/sys/external/bsd/drm2/drm/drm_fops.c      Mon Aug 27 06:49:01 2018 +0000
+++ b/sys/external/bsd/drm2/drm/drm_fops.c      Mon Aug 27 06:49:12 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_fops.c,v 1.5 2018/08/27 06:06:31 riastradh Exp $   */
+/*     $NetBSD: drm_fops.c,v 1.6 2018/08/27 06:49:12 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_fops.c,v 1.5 2018/08/27 06:06:31 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_fops.c,v 1.6 2018/08/27 06:49:12 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/select.h>
@@ -51,8 +51,7 @@
        struct drm_device *const dev = minor->dev;
        int ret;
 
-       file->always_authenticated = DRM_SUSER(); /* XXX */
-       file->always_authenticated = file->always_authenticated;
+       file->authenticated = DRM_SUSER(); /* XXX */
        file->is_master = false;
        file->stereo_allowed = false;
        file->universal_planes = false;



Home | Main Index | Thread Index | Old Index