Module Name: src Committed By: skrll Date: Wed Oct 2 23:24:58 UTC 2013
Modified Files: src/sys/dev/ic: sl811hs.c Log Message: Fix a KASSERT - how did that sneak in? To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/dev/ic/sl811hs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/sl811hs.c diff -u src/sys/dev/ic/sl811hs.c:1.42 src/sys/dev/ic/sl811hs.c:1.43 --- src/sys/dev/ic/sl811hs.c:1.42 Wed Oct 2 23:09:39 2013 +++ src/sys/dev/ic/sl811hs.c Wed Oct 2 23:24:58 2013 @@ -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 @@ repeat: 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;