Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb tiny KNF



details:   https://anonhg.NetBSD.org/src/rev/be7d64bed75b
branches:  trunk
changeset: 347727:be7d64bed75b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Sep 13 07:30:32 2016 +0000

description:
tiny KNF

diffstat:

 sys/dev/usb/uhub.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f20fce6467de -r be7d64bed75b sys/dev/usb/uhub.c
--- a/sys/dev/usb/uhub.c        Tue Sep 13 07:01:07 2016 +0000
+++ b/sys/dev/usb/uhub.c        Tue Sep 13 07:30:32 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhub.c,v 1.133 2016/04/23 10:15:32 skrll Exp $ */
+/*     $NetBSD: uhub.c,v 1.134 2016/09/13 07:30:32 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.133 2016/04/23 10:15:32 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhub.c,v 1.134 2016/09/13 07:30:32 skrll Exp $");
 
 #include <sys/param.h>
 
@@ -321,7 +321,7 @@
 
        if (USB_IS_SS(dev->ud_speed) && dev->ud_depth != 0) {
                aprint_debug_dev(self, "setting hub depth %u\n",
-                   dev->ud_depth-1);
+                   dev->ud_depth - 1);
                err = usbd_set_hub_depth(dev, dev->ud_depth - 1);
                if (err) {
                        aprint_error_dev(self, "can't set depth\n");



Home | Main Index | Thread Index | Old Index