Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nick-nhusb]: src/sys/dev/usb Correct KASSERT
details: https://anonhg.NetBSD.org/src/rev/2024cda4cf40
branches: nick-nhusb
changeset: 334355:2024cda4cf40
user: skrll <skrll%NetBSD.org@localhost>
date: Mon Dec 28 22:25:43 2015 +0000
description:
Correct KASSERT
diffstat:
sys/dev/usb/ehci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 9b263534c236 -r 2024cda4cf40 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c Mon Dec 28 15:46:28 2015 +0000
+++ b/sys/dev/usb/ehci.c Mon Dec 28 22:25:43 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ehci.c,v 1.234.2.73 2015/12/27 12:09:59 skrll Exp $ */
+/* $NetBSD: ehci.c,v 1.234.2.74 2015/12/28 22:25:43 skrll Exp $ */
/*
* Copyright (c) 2004-2012 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.73 2015/12/27 12:09:59 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.234.2.74 2015/12/28 22:25:43 skrll Exp $");
#include "ohci.h"
#include "uhci.h"
@@ -4068,7 +4068,7 @@
ehci_softc_t *sc = EHCI_XFER2SC(xfer);
struct ehci_xfer *ex = EHCI_XFER2EXFER(xfer);
- KASSERT(ex->ex_type == EX_BULK);
+ KASSERT(ex->ex_type == EX_INTR);
ehci_free_sqtds(sc, ex);
if (ex->ex_nsqtd)
Home |
Main Index |
Thread Index |
Old Index