In message <[email protected]>
        on Tue, 10 May 2016 21:15:54 +0000,
        "Nick Hudson" <[email protected]> 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 <[email protected]>

Reply via email to