Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/adm5120/dev Fix build from previous



details:   https://anonhg.NetBSD.org/src/rev/8b447529d004
branches:  trunk
changeset: 371972:8b447529d004
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sun Oct 23 06:29:01 2022 +0000

description:
Fix build from previous

diffstat:

 sys/arch/mips/adm5120/dev/ahci.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r c574696b3211 -r 8b447529d004 sys/arch/mips/adm5120/dev/ahci.c
--- a/sys/arch/mips/adm5120/dev/ahci.c  Sun Oct 23 06:27:26 2022 +0000
+++ b/sys/arch/mips/adm5120/dev/ahci.c  Sun Oct 23 06:29:01 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ahci.c,v 1.31 2022/03/09 22:17:41 riastradh Exp $      */
+/*     $NetBSD: ahci.c,v 1.32 2022/10/23 06:29:01 skrll Exp $  */
 
 /*-
  * Copyright (c) 2007 Ruslan Ermilov and Vsevolod Lobko.
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ahci.c,v 1.31 2022/03/09 22:17:41 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ahci.c,v 1.32 2022/10/23 06:29:01 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -743,7 +743,7 @@
 
        DPRINTF(D_TRACE, ("SLRIstart "));
 
-       KASSERT(sc->sc_bus.ub_usepolling || mutex_owned(&sc->sc_lock);
+       KASSERT(sc->sc_bus.ub_usepolling || mutex_owned(&sc->sc_lock));
 
        KASSERT(sc->sc_intr_xfer == NULL);
        sc->sc_interval = MS_TO_TICKS(xfer->ux_pipe->up_endpoint->ue_edesc->bInterval);
@@ -834,7 +834,7 @@
        struct ahci_softc *sc = AHCI_XFER2SC(xfer);
        int len, isread;
 
-       KASSERT(sc->sc_bus.ub_usepolling || mutex_owned(&sc->sc_lock);
+       KASSERT(sc->sc_bus.ub_usepolling || mutex_owned(&sc->sc_lock));
 
 #if 0
        struct ahci_pipe *apipe = (struct ahci_pipe *)xfer->ux_pipe;
@@ -1011,7 +1011,7 @@
 
        DPRINTF(D_TRACE, ("INTRstart "));
 
-       KASSERT(sc->sc_bus.ub_usepolling || mutex_owned(&sc->sc_lock);
+       KASSERT(sc->sc_bus.ub_usepolling || mutex_owned(&sc->sc_lock));
 
        sx = kmem_intr_alloc(sizeof(*sx), KM_NOSLEEP);
        if (sx == NULL)
@@ -1158,7 +1158,7 @@
 #define KSEG1ADDR(x) (0xa0000000 | (((uint32_t)x) & 0x1fffffff))
        DPRINTF(D_TRACE, ("st "));
 
-       KASSERT(sc->sc_bus.ub_usepolling || mutex_owned(&sc->sc_lock);
+       KASSERT(sc->sc_bus.ub_usepolling || mutex_owned(&sc->sc_lock));
 
 #ifdef DIAGNOSTIC
        if (xfer->ux_rqflags & URQ_REQUEST) {



Home | Main Index | Thread Index | Old Index