PERFORCE change 1123614 for review

Brooks Davis brooks at FreeBSD.org
Thu Oct 17 18:30:48 UTC 2013


http://p4web.freebsd.org/@@1123614?ac=10

Change 1123614 by brooks at brooks_zenith on 2013/10/17 18:30:40

	Correct some KASSERT format errors.

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/sys/mips/beri/beri_pic.c#8 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/sys/mips/beri/beri_pic.c#8 (text+ko) ====

@@ -530,7 +530,7 @@
 
 	src = rman_get_start(irq);
 
-	KASSERT(src < sc->bp_nsrcs, ("source (%ul) out of range 0-%d",
+	KASSERT(src < sc->bp_nsrcs, ("source (%lu) out of range 0-%d",
 	     src, sc->bp_nsrcs - 1));
 
 	bpia = malloc(sizeof(*bpia), M_BERIPIC, M_WAITOK|M_ZERO);
@@ -653,7 +653,7 @@
 
 	sc = device_get_softc(ic);
 
-	KASSERT(tid < sc->bp_nsoft, ("tid (%d) to large\n"));
+	KASSERT(tid < sc->bp_nsoft, ("tid (%d) too large\n", tid));
 
 	bit = 1ULL << (tid % 64);
 	bus_space_write_8(sc->bp_set_bst, sc->bp_set_bsh, 
@@ -668,7 +668,7 @@
 
 	sc = device_get_softc(ic);
 
-	KASSERT(tid < sc->bp_nsoft, ("tid (%d) to large\n"));
+	KASSERT(tid < sc->bp_nsoft, ("tid (%d) to large\n", tid));
 
 	bit = 1ULL << (tid % 64);
 	bus_space_write_8(sc->bp_clear_bst, sc->bp_clear_bsh, 


More information about the p4-projects mailing list