Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Format conditional
details: https://anonhg.NetBSD.org/src/rev/8a256adf6863
branches: trunk
changeset: 346198:8a256adf6863
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Jul 01 07:33:33 2016 +0000
description:
Format conditional
diffstat:
sys/dev/ic/sl811hs.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 3cb91cd32481 -r 8a256adf6863 sys/dev/ic/sl811hs.c
--- a/sys/dev/ic/sl811hs.c Fri Jul 01 07:15:37 2016 +0000
+++ b/sys/dev/ic/sl811hs.c Fri Jul 01 07:33:33 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sl811hs.c,v 1.89 2016/07/01 07:15:37 skrll Exp $ */
+/* $NetBSD: sl811hs.c,v 1.90 2016/07/01 07:33:33 skrll Exp $ */
/*
* Not (c) 2007 Matthew Orgass
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.89 2016/07/01 07:15:37 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.90 2016/07/01 07:33:33 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_slhci.h"
@@ -2158,8 +2158,8 @@
xfer->ux_actlen += actlen;
spipe->control ^= SL11_EPCTRL_DATATOGGLE;
- if (actlen == spipe->tregs[LEN] && (xfer->ux_length >
- xfer->ux_actlen || spipe->wantshort)) {
+ if (actlen == spipe->tregs[LEN] &&
+ (xfer->ux_length > xfer->ux_actlen || spipe->wantshort)) {
spipe->buffer += actlen;
LK_SLASSERT(xfer->ux_length >= xfer->ux_actlen, sc,
spipe, xfer, return);
Home |
Main Index |
Thread Index |
Old Index