Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Fix a KASSERT - how did that sneak in?
details: https://anonhg.NetBSD.org/src/rev/b195ea42a1db
branches: trunk
changeset: 790307:b195ea42a1db
user: skrll <skrll%NetBSD.org@localhost>
date: Wed Oct 02 23:24:58 2013 +0000
description:
Fix a KASSERT - how did that sneak in?
diffstat:
sys/dev/ic/sl811hs.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5e56b1fa18b8 -r b195ea42a1db sys/dev/ic/sl811hs.c
--- a/sys/dev/ic/sl811hs.c Wed Oct 02 23:09:39 2013 +0000
+++ b/sys/dev/ic/sl811hs.c Wed Oct 02 23:24:58 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sl811hs.c,v 1.42 2013/10/02 23:09:39 skrll Exp $ */
+/* $NetBSD: sl811hs.c,v 1.43 2013/10/02 23:24:58 skrll Exp $ */
/*
* Not (c) 2007 Matthew Orgass
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.42 2013/10/02 23:09:39 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sl811hs.c,v 1.43 2013/10/02 23:24:58 skrll Exp $");
#include "opt_slhci.h"
@@ -1520,7 +1520,7 @@
void
slhci_do_callback(struct slhci_softc *sc, struct usbd_xfer *xfer)
{
- KASSERT(mutex_locked(&sc->sc_intr_lock));
+ KASSERT(mutex_owned(&sc->sc_intr_lock));
int repeat;
Home |
Main Index |
Thread Index |
Old Index