Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Wrap long line. From t-hash.



details:   https://anonhg.NetBSD.org/src/rev/61ca9deeae40
branches:  trunk
changeset: 344973:61ca9deeae40
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Apr 30 14:51:04 2016 +0000

description:
Wrap long line.  From t-hash.

diffstat:

 sys/dev/usb/xhci.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r d839e06d685a -r 61ca9deeae40 sys/dev/usb/xhci.c
--- a/sys/dev/usb/xhci.c        Sat Apr 30 14:46:05 2016 +0000
+++ b/sys/dev/usb/xhci.c        Sat Apr 30 14:51:04 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xhci.c,v 1.35 2016/04/30 14:46:05 skrll Exp $  */
+/*     $NetBSD: xhci.c,v 1.36 2016/04/30 14:51:04 skrll Exp $  */
 
 /*
  * Copyright (c) 2013 Jonathan A. Kollasch
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.35 2016/04/30 14:46:05 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.36 2016/04/30 14:51:04 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -840,7 +840,8 @@
                if (err)
                        return err;
 
-               sc->sc_spbuf_dma = kmem_zalloc(sizeof(*sc->sc_spbuf_dma) * sc->sc_maxspbuf, KM_SLEEP);
+               sc->sc_spbuf_dma = kmem_zalloc(sizeof(*sc->sc_spbuf_dma) *
+                   sc->sc_maxspbuf, KM_SLEEP);
                uint64_t *spbufarray = KERNADDR(&sc->sc_spbufarray_dma, 0);
                for (i = 0; i < sc->sc_maxspbuf; i++) {
                        usb_dma_t * const dma = &sc->sc_spbuf_dma[i];



Home | Main Index | Thread Index | Old Index