Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/hyperv Add __diagused.
details: https://anonhg.NetBSD.org/src/rev/cab9cd62483f
branches: trunk
changeset: 448952:cab9cd62483f
user: hannken <hannken%NetBSD.org@localhost>
date: Fri Feb 15 16:37:54 2019 +0000
description:
Add __diagused.
diffstat:
sys/dev/hyperv/vmbus.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 166ccfcbde19 -r cab9cd62483f sys/dev/hyperv/vmbus.c
--- a/sys/dev/hyperv/vmbus.c Fri Feb 15 16:36:33 2019 +0000
+++ b/sys/dev/hyperv/vmbus.c Fri Feb 15 16:37:54 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmbus.c,v 1.1 2019/02/15 08:54:01 nonaka Exp $ */
+/* $NetBSD: vmbus.c,v 1.2 2019/02/15 16:37:54 hannken Exp $ */
/* $OpenBSD: hyperv.c,v 1.43 2017/06/27 13:56:15 mikeb Exp $ */
/*-
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vmbus.c,v 1.1 2019/02/15 08:54:01 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vmbus.c,v 1.2 2019/02/15 16:37:54 hannken Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1020,7 +1020,7 @@
{
struct vmbus_softc *sc = nch->ch_sc;
struct vmbus_channel *ch;
- u_int refs;
+ u_int refs __diagused;
if (nch->ch_id == 0) {
device_printf(sc->sc_dev, "got channel 0 offer, discard\n");
Home |
Main Index |
Thread Index |
Old Index