PERFORCE change 209029 for review

Robert Watson rwatson at FreeBSD.org
Tue Apr 3 19:13:15 UTC 2012


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

Change 209029 by rwatson at rwatson_svr_ctsrd_mipsbuild on 2012/04/03 19:12:10

	Remove a KASSERT documenting a non-invariant of bp->bio_resid in
	the Altera SD Card IP core.  An earlier iteration depended on this
	invariant but the current one doesn't, so functional change other
	than fewer assertion failures.

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/sys/dev/altera/sdcard/altera_sdcard_io.c#4 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/sys/dev/altera/sdcard/altera_sdcard_io.c#4 (text+ko) ====

@@ -217,8 +217,6 @@
 	 * SD Card IP Core sector size.  Catch any attempts to not follow the
 	 * rules.
 	 */
-	KASSERT(bp->bio_bcount == bp->bio_resid,
-	    ("%s: bcount != resid", __func__));
 	KASSERT(bp->bio_bcount == ALTERA_SDCARD_SECTORSIZE,
 	    ("%s: I/O size not %d", __func__, ALTERA_SDCARD_SECTORSIZE));
 


More information about the p4-projects mailing list