Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Cosmetic - consistently use #define<SPACE>
details: https://anonhg.NetBSD.org/src/rev/f6b36b97825b
branches: trunk
changeset: 359540:f6b36b97825b
user: uwe <uwe%NetBSD.org@localhost>
date: Wed Feb 14 14:04:48 2018 +0000
description:
Cosmetic - consistently use #define<SPACE>
diffstat:
sys/dev/pci/virtio.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 9dfddf7a647e -r f6b36b97825b sys/dev/pci/virtio.c
--- a/sys/dev/pci/virtio.c Wed Feb 14 12:56:00 2018 +0000
+++ b/sys/dev/pci/virtio.c Wed Feb 14 14:04:48 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: virtio.c,v 1.29 2017/08/02 08:39:14 cherry Exp $ */
+/* $NetBSD: virtio.c,v 1.30 2018/02/14 14:04:48 uwe Exp $ */
/*
* Copyright (c) 2010 Minoura Makoto.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.29 2017/08/02 08:39:14 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: virtio.c,v 1.30 2018/02/14 14:04:48 uwe Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -96,10 +96,10 @@
/* some functions access registers at 4 byte offset for little/high halves */
#if BYTE_ORDER == BIG_ENDIAN
#define REG_HI_OFF 0
-#define REG_LO_OFF 4
+#define REG_LO_OFF 4
#else
#define REG_HI_OFF 4
-#define REG_LO_OFF 0
+#define REG_LO_OFF 0
#endif
void
Home |
Main Index |
Thread Index |
Old Index