In message <20160510211554.b0062f...@cvs.netbsd.org> on Tue, 10 May 2016 21:15:54 +0000, "Nick Hudson" <sk...@netbsd.org> wrote: > Module Name: src > Committed By: skrll > Date: Tue May 10 21:15:54 UTC 2016 > > Modified Files: > src/sys/dev/ic: sl811hs.c > > Log Message: > Remove comment about splusb and replace with KASSERT(mutex_owned()) Added KASSERT use sc before initialize it.
@@ -1296,6 +1296,8 @@ struct slhci_softc *sc; struct slhci_pipe *spipe; + KASSERT(mutex_owned(&sc->sc_lock)); + spipe = SLHCI_PIPE2SPIPE(xfer->ux_pipe); if (spipe == NULL) -- Takahiro Kambe <t...@back-street.net>