Module Name: src
Committed By: pgoyette
Date: Sun Sep 9 03:10:03 UTC 2018
Modified Files:
src/sys/external/bsd/drm2/dist/drm/nouveau: nouveau_nvif.c
Log Message:
Another __diagused
OK riastradh@
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_nvif.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_nvif.c
diff -u src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_nvif.c:1.4 src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_nvif.c:1.5
--- src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_nvif.c:1.4 Mon Aug 27 14:47:53 2018
+++ src/sys/external/bsd/drm2/dist/drm/nouveau/nouveau_nvif.c Sun Sep 9 03:10:03 2018
@@ -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 @@ nvkm_client_unmap(void *priv, bus_space_
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;