Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci remove trailing whitespace
details: https://anonhg.NetBSD.org/src/rev/b72072ae043c
branches: trunk
changeset: 319552:b72072ae043c
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sun Jun 03 02:13:09 2018 +0000
description:
remove trailing whitespace
diffstat:
sys/dev/pci/ld_virtio.c | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diffs (67 lines):
diff -r 591d6178c492 -r b72072ae043c sys/dev/pci/ld_virtio.c
--- a/sys/dev/pci/ld_virtio.c Sun Jun 03 01:55:16 2018 +0000
+++ b/sys/dev/pci/ld_virtio.c Sun Jun 03 02:13:09 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ld_virtio.c,v 1.16 2017/08/09 16:44:40 mlelstv Exp $ */
+/* $NetBSD: ld_virtio.c,v 1.17 2018/06/03 02:13:09 jakllsch Exp $ */
/*
* Copyright (c) 2010 Minoura Makoto.
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ld_virtio.c,v 1.16 2017/08/09 16:44:40 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ld_virtio.c,v 1.17 2018/06/03 02:13:09 jakllsch Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -71,10 +71,10 @@
#define VIRTIO_BLK_F_SCSI (1<<7)
#define VIRTIO_BLK_F_FLUSH (1<<9)
-/*
+/*
* Each block request uses at least two segments - one for the header
* and one for the status.
-*/
+*/
#define VIRTIO_BLK_MIN_SEGMENTS 2
#define VIRTIO_BLK_FLAG_BITS \
@@ -504,7 +504,7 @@
if (r != 0)
return r;
- r = virtio_enqueue_reserve(vsc, vq, slot, vr->vr_payload->dm_nsegs +
+ r = virtio_enqueue_reserve(vsc, vq, slot, vr->vr_payload->dm_nsegs +
VIRTIO_BLK_MIN_SEGMENTS);
if (r != 0) {
bus_dmamap_unload(virtio_dmat(vsc), vr->vr_payload);
@@ -549,7 +549,7 @@
} else
break;
}
-
+
bus_dmamap_sync(virtio_dmat(vsc), vr->vr_cmdsts,
0, sizeof(struct virtio_blk_req_hdr),
BUS_DMASYNC_POSTWRITE);
@@ -612,7 +612,7 @@
#define CFDRIVER_DECL(name, class, attr)
#include "ioconf.c"
#endif
-
+
static int
ld_virtio_modcmd(modcmd_t cmd, void *opaque)
{
@@ -624,7 +624,7 @@
static struct cfdriver * const no_cfdriver_vec[] = { NULL };
#endif
int error = 0;
-
+
#ifdef _MODULE
switch (cmd) {
case MODULE_CMD_INIT:
Home |
Main Index |
Thread Index |
Old Index