Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb KNF
details: https://anonhg.NetBSD.org/src/rev/3c0b7752ecfa
branches: trunk
changeset: 752077:3c0b7752ecfa
user: martin <martin%NetBSD.org@localhost>
date: Sat Feb 13 02:16:51 2010 +0000
description:
KNF
diffstat:
sys/dev/usb/umass.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 689a4ba4ec37 -r 3c0b7752ecfa sys/dev/usb/umass.c
--- a/sys/dev/usb/umass.c Sat Feb 13 02:09:41 2010 +0000
+++ b/sys/dev/usb/umass.c Sat Feb 13 02:16:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umass.c,v 1.137 2010/02/13 02:09:41 martin Exp $ */
+/* $NetBSD: umass.c,v 1.138 2010/02/13 02:16:51 martin Exp $ */
/*
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -124,7 +124,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.137 2010/02/13 02:09:41 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.138 2010/02/13 02:16:51 martin Exp $");
#include "atapibus.h"
#include "scsibus.h"
@@ -1180,7 +1180,7 @@
residue = UGETDW(sc->csw.dCSWDataResidue);
if (residue < sc->transfer_datalen - sc->transfer_actlen)
- residue = sc->transfer_datalen - sc->transfer_actlen;
+ residue = sc->transfer_datalen - sc->transfer_actlen;
/* Translate weird command-status signatures. */
if ((sc->sc_quirks & UMASS_QUIRK_WRONG_CSWSIG) &&
Home |
Main Index |
Thread Index |
Old Index