Date: Sun, 14 Jun 2009 00:15:27 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r194139 - head/sys/dev/ofw Message-ID: <200906140015.n5E0FRWk028455@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marius Date: Sun Jun 14 00:15:26 2009 New Revision: 194139 URL: http://svn.freebsd.org/changeset/base/194139 Log: Missed style fixes. Modified: head/sys/dev/ofw/ofw_disk.c Modified: head/sys/dev/ofw/ofw_disk.c ============================================================================== --- head/sys/dev/ofw/ofw_disk.c Sun Jun 14 00:05:38 2009 (r194138) +++ head/sys/dev/ofw/ofw_disk.c Sun Jun 14 00:15:26 2009 (r194139) @@ -21,8 +21,6 @@ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * */ #include <sys/cdefs.h> @@ -86,11 +84,11 @@ ofwd_startio(struct ofwd_softc *sc, stru switch (bp->bio_cmd) { case BIO_READ: r = OF_read(sc->ofwd_instance, (void *)bp->bio_data, - bp->bio_length); + bp->bio_length); break; case BIO_WRITE: r = OF_write(sc->ofwd_instance, (void *)bp->bio_data, - bp->bio_length); + bp->bio_length); break; } if (r != bp->bio_length) @@ -161,7 +159,7 @@ g_ofwd_init(struct g_class *mp __unused) } sc = (struct ofwd_softc *)malloc(sizeof *sc, M_DEVBUF, - M_WAITOK|M_ZERO); + M_WAITOK | M_ZERO); bioq_init(&sc->ofwd_bio_queue); mtx_init(&sc->ofwd_queue_mtx, "ofwd bio queue", NULL, MTX_DEF); sc->ofwd_instance = ifd;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906140015.n5E0FRWk028455>