Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2012 19:13:14 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 209029 for review
Message-ID:  <201204031913.q33JDEZW097393@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@209029?ac=10

Change 209029 by rwatson@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));
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204031913.q33JDEZW097393>