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/radeon Note need_mmap_used is...



details:   https://anonhg.NetBSD.org/src/rev/194a42c0f70e
branches:  trunk
changeset: 366220:194a42c0f70e
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 13:58:04 2018 +0000

description:
Note need_mmap_used is __diagused, not __unused.

diffstat:

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

diffs (27 lines):

diff -r 11c26cfb225b -r 194a42c0f70e sys/external/bsd/drm2/dist/drm/radeon/radeon_cs.c
--- a/sys/external/bsd/drm2/dist/drm/radeon/radeon_cs.c Mon Aug 27 13:57:50 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/radeon/radeon_cs.c Mon Aug 27 13:58:04 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: radeon_cs.c,v 1.3 2018/08/27 07:48:30 riastradh Exp $  */
+/*     $NetBSD: radeon_cs.c,v 1.4 2018/08/27 13:58:04 riastradh Exp $  */
 
 /*
  * Copyright 2008 Jerome Glisse.
@@ -27,7 +27,7 @@
  *    Jerome Glisse <glisse%freedesktop.org@localhost>
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: radeon_cs.c,v 1.3 2018/08/27 07:48:30 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: radeon_cs.c,v 1.4 2018/08/27 13:58:04 riastradh Exp $");
 
 #include <linux/list_sort.h>
 #include <drm/drmP.h>
@@ -83,7 +83,7 @@
        struct radeon_cs_chunk *chunk;
        struct radeon_cs_buckets buckets;
        unsigned i;
-       bool need_mmap_lock = false;
+       bool need_mmap_lock __diagused = false;
        int r;
 
        if (p->chunk_relocs == NULL) {



Home | Main Index | Thread Index | Old Index