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 KASSERT -> KASSERTMSG
details: https://anonhg.NetBSD.org/src/rev/51afea9b5d76
branches: nick-nhusb
changeset: 334561:51afea9b5d76
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Dec 11 17:31:09 2016 +0000
description:
KASSERT -> KASSERTMSG
diffstat:
sys/dev/usb/usbdi.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r c4a4165a8b76 -r 51afea9b5d76 sys/dev/usb/usbdi.c
--- a/sys/dev/usb/usbdi.c Sun Dec 11 15:10:43 2016 +0000
+++ b/sys/dev/usb/usbdi.c Sun Dec 11 17:31:09 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usbdi.c,v 1.162.2.48 2016/12/05 10:55:20 skrll Exp $ */
+/* $NetBSD: usbdi.c,v 1.162.2.49 2016/12/11 17:31:09 skrll Exp $ */
/*
* Copyright (c) 1998, 2012, 2015 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.162.2.48 2016/12/05 10:55:20 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: usbdi.c,v 1.162.2.49 2016/12/11 17:31:09 skrll Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -1003,7 +1003,8 @@
xfer, pipe, pipe->up_running, xfer->ux_timeout);
KASSERT(mutex_owned(pipe->up_dev->ud_bus->ub_lock));
- KASSERT(xfer->ux_state == XFER_BUSY);
+ KASSERTMSG(xfer->ux_state == XFER_BUSY, "xfer %p state is %x", xfer,
+ xfer->ux_state);
#ifdef DIAGNOSTIC
xfer->ux_state = XFER_ONQU;
Home |
Main Index |
Thread Index |
Old Index