Module Name: src Committed By: skrll Date: Tue Dec 19 16:04:27 UTC 2017
Modified Files: src/sys/dev/usb: xhci.c Log Message: Trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82 src/sys/dev/usb/xhci.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/xhci.c diff -u src/sys/dev/usb/xhci.c:1.81 src/sys/dev/usb/xhci.c:1.82 --- src/sys/dev/usb/xhci.c:1.81 Sun Dec 10 17:50:01 2017 +++ src/sys/dev/usb/xhci.c Tue Dec 19 16:04:27 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: xhci.c,v 1.81 2017/12/10 17:50:01 hannken Exp $ */ +/* $NetBSD: xhci.c,v 1.82 2017/12/19 16:04:27 skrll Exp $ */ /* * Copyright (c) 2013 Jonathan A. Kollasch @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.81 2017/12/10 17:50:01 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: xhci.c,v 1.82 2017/12/19 16:04:27 skrll Exp $"); #ifdef _KERNEL_OPT #include "opt_usb.h" @@ -623,7 +623,7 @@ xhci_detach(struct xhci_softc *sc, int f kmem_free(sc->sc_slots, sizeof(*sc->sc_slots) * sc->sc_maxslots); - kmem_free(sc->sc_ctlrportbus, + kmem_free(sc->sc_ctlrportbus, howmany(sc->sc_maxports * sizeof(uint8_t), NBBY)); kmem_free(sc->sc_ctlrportmap, sc->sc_maxports * sizeof(int));