summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2019-08-20 23:55:42 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2019-08-20 23:55:42 +0000
commitaa8306a13696dc25018e94ef3b7506f11638e85b (patch)
tree3db195cc54582b688c7c818046b7cb80c4dc6162
parentf71b1ecd9d6c480f8ee17759619a92d12d2811d7 (diff)
Trailing whitespace.
-rw-r--r--sys/dev/pci/mfii.c10
-rw-r--r--sys/dev/pci/mpii.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/pci/mfii.c b/sys/dev/pci/mfii.c
index 8a726f1985f..bdb7f8996f4 100644
--- a/sys/dev/pci/mfii.c
+++ b/sys/dev/pci/mfii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfii.c,v 1.60 2019/03/05 01:43:07 jmatthew Exp $ */
+/* $OpenBSD: mfii.c,v 1.61 2019/08/20 23:55:41 krw Exp $ */
/*
* Copyright (c) 2012 David Gwynne <dlg@openbsd.org>
@@ -1170,13 +1170,13 @@ mfii_aen(void *arg)
case MFI_EVT_PD_INSERTED_EXT:
if (med->med_arg_type != MFI_EVT_ARGS_PD_ADDRESS)
break;
-
+
mfii_aen_pd_insert(sc, &med->args.pd_address);
break;
case MFI_EVT_PD_REMOVED_EXT:
if (med->med_arg_type != MFI_EVT_ARGS_PD_ADDRESS)
break;
-
+
mfii_aen_pd_remove(sc, &med->args.pd_address);
break;
@@ -1291,7 +1291,7 @@ mfii_aen_ld_update(struct mfii_softc *sc)
for (i = 0; i < MFI_MAX_LD; i++) {
old = sc->sc_target_lds[i];
nld = newlds[i];
-
+
if (old == -1 && nld != -1) {
DNPRINTF(MFII_D_MISC, "%s: attaching target %d\n",
DEVNAME(sc), i);
@@ -3718,7 +3718,7 @@ mfii_refresh_ld_sensor(struct mfii_softc *sc, int ld)
target = sc->sc_ld_list.mll_list[ld].mll_ld.mld_target;
sensor = &sc->sc_sensors[target];
-
+
switch(sc->sc_ld_list.mll_list[ld].mll_state) {
case MFI_LD_OFFLINE:
sensor->value = SENSOR_DRIVE_FAIL;
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c
index 7b171ead9e4..7d358f2bc1d 100644
--- a/sys/dev/pci/mpii.c
+++ b/sys/dev/pci/mpii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpii.c,v 1.118 2019/07/07 11:17:36 dlg Exp $ */
+/* $OpenBSD: mpii.c,v 1.119 2019/08/20 23:55:41 krw Exp $ */
/*
* Copyright (c) 2010, 2012 Mike Belopuhov
* Copyright (c) 2009 James Giannoules
@@ -898,7 +898,7 @@ mpii_scsi_probe(struct scsi_link *link)
if (ISSET(flags, MPII_DF_VOLUME))
return (0);
- memset(&ehdr, 0, sizeof(ehdr));
+ memset(&ehdr, 0, sizeof(ehdr));
ehdr.page_type = MPII_CONFIG_REQ_PAGE_TYPE_EXTENDED;
ehdr.page_number = 0;
ehdr.page_version = 0;