Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/dev/ic
In message <20160510211554.B0062FBBA%cvs.NetBSD.org@localhost>
on Tue, 10 May 2016 21:15:54 +0000,
"Nick Hudson" <skrll%netbsd.org@localhost> 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 <taca%back-street.net@localhost>
Home |
Main Index |
Thread Index |
Old Index