Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb Whitespace
details: https://anonhg.NetBSD.org/src/rev/cfef69c5d1b5
branches: nick-nhusb
changeset: 804517:cfef69c5d1b5
user: skrll <skrll%NetBSD.org@localhost>
date: Thu Jan 28 13:01:30 2016 +0000
description:
Whitespace
diffstat:
sys/dev/usb/uhub.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 9b21d13c7460 -r cfef69c5d1b5 sys/dev/usb/uhub.c
--- a/sys/dev/usb/uhub.c Mon Jan 11 22:24:58 2016 +0000
+++ b/sys/dev/usb/uhub.c Thu Jan 28 13:01:30 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uhub.c,v 1.126.2.20 2016/01/02 16:14:46 skrll Exp $ */
+/* $NetBSD: uhub.c,v 1.126.2.21 2016/01/28 13:01:30 skrll Exp $ */
/* $FreeBSD: src/sys/dev/usb/uhub.c,v 1.18 1999/11/17 22:33:43 n_hibma Exp $ */
/* $OpenBSD: uhub.c,v 1.86 2015/06/29 18:27:40 mpi Exp $ */
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.126.2.20 2016/01/02 16:14:46 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.126.2.21 2016/01/28 13:01:30 skrll Exp $");
#include <sys/param.h>
@@ -424,7 +424,7 @@
struct usbd_port *up = &hub->uh_ports[p];
up->up_dev = NULL;
up->up_parent = dev;
- up->up_portno = p+1;
+ up->up_portno = p + 1;
if (dev->ud_selfpowered)
/* Self powered hub, give ports maximum current. */
up->up_power = USB_MAX_POWER;
@@ -530,7 +530,7 @@
}
for (port = 1; port <= hd->bNbrPorts; port++) {
- up = &dev->ud_hub->uh_ports[port-1];
+ up = &dev->ud_hub->uh_ports[port - 1];
/* reattach is needed after firmware upload */
reconnect = up->up_reattach;
@@ -820,7 +820,7 @@
KERNEL_LOCK(1, curlwp);
nports = hub->uh_hubdesc.bNbrPorts;
- for(port = 0; port < nports; port++) {
+ for (port = 0; port < nports; port++) {
rup = &hub->uh_ports[port];
if (rup->up_dev == NULL)
continue;
Home |
Main Index |
Thread Index |
Old Index