Module Name: src Committed By: skrll Date: Fri Apr 1 14:06:14 UTC 2016
Modified Files: src/sys/dev/usb [nick-nhusb]: ohci.c Log Message: Whitespace To generate a diff of this commit: cvs rdiff -u -r1.254.2.61 -r1.254.2.62 src/sys/dev/usb/ohci.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/ohci.c diff -u src/sys/dev/usb/ohci.c:1.254.2.61 src/sys/dev/usb/ohci.c:1.254.2.62 --- src/sys/dev/usb/ohci.c:1.254.2.61 Fri Apr 1 12:58:15 2016 +++ src/sys/dev/usb/ohci.c Fri Apr 1 14:06:14 2016 @@ -1,4 +1,4 @@ -/* $NetBSD: ohci.c,v 1.254.2.61 2016/04/01 12:58:15 skrll Exp $ */ +/* $NetBSD: ohci.c,v 1.254.2.62 2016/04/01 14:06:14 skrll Exp $ */ /* * Copyright (c) 1998, 2004, 2005, 2012 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.61 2016/04/01 12:58:15 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ohci.c,v 1.254.2.62 2016/04/01 14:06:14 skrll Exp $"); #include "opt_usb.h" @@ -571,7 +571,7 @@ ohci_alloc_std_chain(ohci_softc_t *sc, s } else { /* must use multiple TDs, fill as much as possible. */ curlen = 2 * OHCI_PAGE_SIZE - - (dataphys & (OHCI_PAGE_SIZE-1)); + (dataphys & (OHCI_PAGE_SIZE - 1)); /* the length must be a multiple of the max size */ curlen -= curlen % mps; KASSERT(curlen != 0);