From e6140f05208a4fee75af842274c288185f64d08a Mon Sep 17 00:00:00 2001 From: skrll Date: Tue, 19 Dec 2017 16:04:27 +0000 Subject: [PATCH] Trailing whitespace --- sys/dev/usb/xhci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/usb/xhci.c b/sys/dev/usb/xhci.c index bd34706cf8b6..20183e59831f 100644 --- a/sys/dev/usb/xhci.c +++ b/sys/dev/usb/xhci.c @@ -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 -__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 flags) 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));