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 KASSERTMSG



details:   https://anonhg.NetBSD.org/src/rev/7ea9bf8e6491
branches:  nick-nhusb
changeset: 804577:7ea9bf8e6491
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Mar 13 08:09:00 2016 +0000

description:
KASSERTMSG

diffstat:

 sys/dev/usb/uhci.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r d75325c6422f -r 7ea9bf8e6491 sys/dev/usb/uhci.c
--- a/sys/dev/usb/uhci.c        Sun Mar 13 07:11:01 2016 +0000
+++ b/sys/dev/usb/uhci.c        Sun Mar 13 08:09:00 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uhci.c,v 1.264.4.65 2016/02/28 16:23:57 skrll Exp $    */
+/*     $NetBSD: uhci.c,v 1.264.4.66 2016/03/13 08:09:00 skrll Exp $    */
 
 /*
  * Copyright (c) 1998, 2004, 2011, 2012 The NetBSD Foundation, Inc.
@@ -42,7 +42,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.65 2016/02/28 16:23:57 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uhci.c,v 1.264.4.66 2016/03/13 08:09:00 skrll Exp $");
 
 #include "opt_usb.h"
 
@@ -1576,6 +1576,8 @@
        }
 #endif
        KASSERT(!ux->ux_isdone);
+       KASSERTMSG(!ux->ux_isdone, "xfer %p type %d status %d", xfer,
+           ux->ux_type, xfer->ux_status);
        ux->ux_isdone = true;
 #endif
 



Home | Main Index | Thread Index | Old Index