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/nouveau Another __diagused



details:   https://anonhg.NetBSD.org/src/rev/880b367e0dc7
branches:  trunk
changeset: 433347:880b367e0dc7
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun Sep 09 03:10:03 2018 +0000

description:
Another __diagused

OK riastradh@

diffstat:

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

diffs (27 lines):

diff -r a23766ed2eff -r 880b367e0dc7 sys/external/bsd/drm2/dist/drm/nouveau/nouveau_nvif.c
--- a/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_nvif.c     Sun Sep 09 03:04:43 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_nvif.c     Sun Sep 09 03:10:03 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nouveau_nvif.c,v 1.4 2018/08/27 14:47:53 riastradh Exp $       */
+/*     $NetBSD: nouveau_nvif.c,v 1.5 2018/09/09 03:10:03 pgoyette Exp $        */
 
 /*
  * Copyright 2014 Red Hat Inc.
@@ -29,7 +29,7 @@
  ******************************************************************************/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nouveau_nvif.c,v 1.4 2018/08/27 14:47:53 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nouveau_nvif.c,v 1.5 2018/09/09 03:10:03 pgoyette Exp $");
 
 #include <core/client.h>
 #include <core/notify.h>
@@ -90,7 +90,7 @@
        if (tag == client->mmiot &&
            client->mmioaddr <= busaddr &&
            busaddr - client->mmioaddr <= client->mmiosz) {
-               const bus_size_t offset = busaddr - client->mmioaddr;
+               __diagused const bus_size_t offset = busaddr - client->mmioaddr;
                KASSERT(size <= client->mmiosz - offset);
                /* Nothing to do to release a subregion.  */
                return;



Home | Main Index | Thread Index | Old Index