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 KNF a comment



details:   https://anonhg.NetBSD.org/src/rev/c725445c31f7
branches:  nick-nhusb
changeset: 804264:c725445c31f7
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Mar 01 08:31:27 2015 +0000

description:
KNF a comment

diffstat:

 sys/dev/usb/umass.c |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r 611206dea547 -r c725445c31f7 sys/dev/usb/umass.c
--- a/sys/dev/usb/umass.c       Sun Mar 01 08:26:55 2015 +0000
+++ b/sys/dev/usb/umass.c       Sun Mar 01 08:31:27 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: umass.c,v 1.149.2.4 2014/12/06 08:27:23 skrll Exp $    */
+/*     $NetBSD: umass.c,v 1.149.2.5 2015/03/01 08:31:27 skrll Exp $    */
 
 /*
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -124,7 +124,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.149.2.4 2014/12/06 08:27:23 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.149.2.5 2015/03/01 08:31:27 skrll Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -586,9 +586,11 @@
                        return;
                }
        }
-       /* Allocate buffer for data transfer (it's huge), command and
-          status data here as auto allocation cannot happen in interrupt
-          context */
+       /*
+        * Allocate buffer for data transfer (it's huge), command and
+        * status data here as auto allocation cannot happen in interrupt
+        * context
+        */
        switch (sc->sc_wire) {
        case UMASS_WPROTO_BBB:
                sc->data_buffer = usbd_alloc_buffer(



Home | Main Index | Thread Index | Old Index