Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb Fix build



details:   https://anonhg.NetBSD.org/src/rev/c2d834cf6a56
branches:  trunk
changeset: 365172:c2d834cf6a56
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Aug 03 13:19:33 2018 +0000

description:
Fix build

diffstat:

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

diffs (28 lines):

diff -r 7be2a5a4877b -r c2d834cf6a56 sys/dev/usb/umcs.c
--- a/sys/dev/usb/umcs.c        Fri Aug 03 12:49:41 2018 +0000
+++ b/sys/dev/usb/umcs.c        Fri Aug 03 13:19:33 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: umcs.c,v 1.11 2018/07/29 02:07:56 riastradh Exp $ */
+/* $NetBSD: umcs.c,v 1.12 2018/08/03 13:19:33 skrll Exp $ */
 /* $FreeBSD: head/sys/dev/usb/serial/umcs.c 260559 2014-01-12 11:44:28Z hselasky $ */
 
 /*-
@@ -41,7 +41,7 @@
  *
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umcs.c,v 1.11 2018/07/29 02:07:56 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umcs.c,v 1.12 2018/08/03 13:19:33 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -517,7 +517,8 @@
                kmem_free(sc->sc_intr_buf, sc->sc_intr_buflen);
                sc->sc_intr_pipe = NULL;
        }
-       usb_rem_task_wait(sc->sc_udev, &sc->sc_change_task, USB_TASKQ_DRIVER);
+       usb_rem_task_wait(sc->sc_udev, &sc->sc_change_task, USB_TASKQ_DRIVER,
+           NULL);
 
        /* detach children */
        for (i = 0; i < sc->sc_numports; i++) {



Home | Main Index | Thread Index | Old Index