PERFORCE change 229693 for review

Brooks Davis brooks at FreeBSD.org
Thu Jun 13 22:43:19 UTC 2013


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

Change 229693 by brooks at brooks_zenith on 2013/06/13 22:42:24

	Correct an off by one error in a new assertion.

Affected files ...

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

Differences ...

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

@@ -382,7 +382,7 @@
 	sc->bp_nsoft = nsoft;
 	sc->bp_nsrcs = sc->bp_nhard + sc->bp_nsoft;
 	/* XXX: should deal with gap between hard and soft */
-	KASSERT(sc->bp_nhard < BP_FIRST_SOFT,
+	KASSERT(sc->bp_nhard <= BP_FIRST_SOFT,
 	    ("too many hard sources"));
 	KASSERT(rman_get_size(sc->bp_cfg_res) / 8 == sc->bp_nsrcs,
 	    ("config space size does not match sources"));


More information about the p4-projects mailing list