Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/external/bsd/drm2/drm Pull up following revision(s) (...



details:   https://anonhg.NetBSD.org/src/rev/c70347c97caa
branches:  netbsd-8
changeset: 434471:c70347c97caa
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Dec 08 05:43:51 2017 +0000

description:
Pull up following revision(s) (requested by jmcneill in ticket #422):
        sys/external/bsd/drm2/drm/drm_drv.c: revision 1.20
drm_stat: fix device minor calculation, ok riastradh@

diffstat:

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

diffs (27 lines):

diff -r 83b50811d835 -r c70347c97caa sys/external/bsd/drm2/drm/drm_drv.c
--- a/sys/external/bsd/drm2/drm/drm_drv.c       Mon Dec 04 19:53:44 2017 +0000
+++ b/sys/external/bsd/drm2/drm/drm_drv.c       Fri Dec 08 05:43:51 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: drm_drv.c,v 1.17 2015/11/09 22:04:53 jmcneill Exp $    */
+/*     $NetBSD: drm_drv.c,v 1.17.10.1 2017/12/08 05:43:51 msaitoh Exp $        */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_drv.c,v 1.17 2015/11/09 22:04:53 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_drv.c,v 1.17.10.1 2017/12/08 05:43:51 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -581,7 +581,7 @@
        struct drm_file *const file = fp->f_data;
        struct drm_minor *const dminor = file->minor;
        const dev_t devno = makedev(cdevsw_lookup_major(&drm_cdevsw),
-           64*dminor->index + dminor->type);
+           64*dminor->type + dminor->index);
 
        (void)memset(st, 0, sizeof(*st));
 



Home | Main Index | Thread Index | Old Index