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/0c49e5b29e10
branches:  trunk
changeset: 992504:0c49e5b29e10
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 bef0e40a2859 -r 0c49e5b29e10 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