Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/external/bsd/dwc2 Appease KASSERTs
details: https://anonhg.NetBSD.org/src/rev/8bef020cbb0a
branches: nick-nhusb
changeset: 334427:8bef020cbb0a
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Mar 04 15:30:17 2016 +0000
description:
Appease KASSERTs
diffstat:
sys/external/bsd/dwc2/dwc2.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r a5b78769d0a8 -r 8bef020cbb0a sys/external/bsd/dwc2/dwc2.c
--- a/sys/external/bsd/dwc2/dwc2.c Tue Mar 01 15:19:37 2016 +0000
+++ b/sys/external/bsd/dwc2/dwc2.c Fri Mar 04 15:30:17 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc2.c,v 1.32.2.20 2016/03/01 14:45:10 skrll Exp $ */
+/* $NetBSD: dwc2.c,v 1.32.2.21 2016/03/04 15:30:17 skrll Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.32.2.20 2016/03/01 14:45:10 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc2.c,v 1.32.2.21 2016/03/04 15:30:17 skrll Exp $");
#include "opt_usb.h"
@@ -700,7 +700,10 @@
Static void
dwc2_root_intr_done(struct usbd_xfer *xfer)
{
+ struct dwc2_softc *sc = DWC2_XFER2SC(xfer);
+ KASSERT(sc->sc_intrxfer != NULL);
+ sc->sc_intrxfer = NULL;
DPRINTF("\n");
}
Home |
Main Index |
Thread Index |
Old Index