diff options
author | 2020-06-27 17:28:58 +0000 | |
---|---|---|
committer | 2020-06-27 17:28:58 +0000 | |
commit | 382c05176131a97b161018e0e88f5417f810eb9c (patch) | |
tree | cad29f4e9dd6ec02f6307522b9ffd069103a41da /sys/dev/ic/oosiop.c | |
parent | don't try to expand alignment using __aligned(16) on local variables. (diff) | |
download | wireguard-openbsd-382c05176131a97b161018e0e88f5417f810eb9c.tar.xz wireguard-openbsd-382c05176131a97b161018e0e88f5417f810eb9c.zip |
Nuke trailing whitespace.
Diffstat (limited to 'sys/dev/ic/oosiop.c')
-rw-r--r-- | sys/dev/ic/oosiop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/oosiop.c b/sys/dev/ic/oosiop.c index 1b07deb1e93..1db6869f6b0 100644 --- a/sys/dev/ic/oosiop.c +++ b/sys/dev/ic/oosiop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: oosiop.c,v 1.27 2020/06/27 14:29:45 krw Exp $ */ +/* $OpenBSD: oosiop.c,v 1.28 2020/06/27 17:28:58 krw Exp $ */ /* $NetBSD: oosiop.c,v 1.4 2003/10/29 17:45:55 tsutsui Exp $ */ /* @@ -550,7 +550,7 @@ oosiop_setup_dma(struct oosiop_softc *sc) OOSIOP_SCRIPT_SYNC(sc, BUS_DMASYNC_POSTWRITE); oosiop_fixup_select(sc, Ent_p_select, cb->id); - oosiop_fixup_jump(sc, Ent_p_datain_jump, xferbase + + oosiop_fixup_jump(sc, Ent_p_datain_jump, xferbase + offsetof(struct oosiop_xfer, datain_scr[0])); oosiop_fixup_jump(sc, Ent_p_dataout_jump, xferbase + offsetof(struct oosiop_xfer, dataout_scr[0])); @@ -641,7 +641,7 @@ oosiop_phasemismatch(struct oosiop_softc *sc) sstat1 = oosiop_read_1(sc, OOSIOP_SSTAT1); if (sstat1 & OOSIOP_SSTAT1_OLF) dbc++; - if ((sc->sc_tgt[cb->id].sxfer != 0) && + if ((sc->sc_tgt[cb->id].sxfer != 0) && (sstat1 & OOSIOP_SSTAT1_ORF) != 0) dbc++; |