Module Name:    src
Committed By:   skrll
Date:           Sun Oct 23 06:29:01 UTC 2022

Modified Files:
        src/sys/arch/mips/adm5120/dev: ahci.c

Log Message:
Fix build from previous


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/mips/adm5120/dev/ahci.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/arch/mips/adm5120/dev/ahci.c
diff -u src/sys/arch/mips/adm5120/dev/ahci.c:1.31 src/sys/arch/mips/adm5120/dev/ahci.c:1.32
--- src/sys/arch/mips/adm5120/dev/ahci.c:1.31	Wed Mar  9 22:17:41 2022
+++ src/sys/arch/mips/adm5120/dev/ahci.c	Sun Oct 23 06:29:01 2022
@@ -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 @@ ahci_root_intr_start(struct usbd_xfer *x
 
 	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 @@ ahci_device_ctrl_start(struct usbd_xfer 
 	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 @@ ahci_device_intr_start(struct usbd_xfer 
 
 	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 @@ ahci_device_bulk_start(struct usbd_xfer 
 #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) {

Reply via email to