diff options
author | marius <marius@FreeBSD.org> | 2009-06-14 00:15:26 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2009-06-14 00:15:26 +0000 |
commit | 609c97dc06fde7439620ed1d0dcc435bdcf05c91 (patch) | |
tree | 4bbd0bb22bfb58694b9bd968836a1f68258eefc1 /sys/dev/ofw | |
parent | 3961775a2db6be3ae2d269fb4fd4bb0465075f50 (diff) | |
download | FreeBSD-src-609c97dc06fde7439620ed1d0dcc435bdcf05c91.zip FreeBSD-src-609c97dc06fde7439620ed1d0dcc435bdcf05c91.tar.gz |
Missed style fixes.
Diffstat (limited to 'sys/dev/ofw')
-rw-r--r-- | sys/dev/ofw/ofw_disk.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/ofw/ofw_disk.c b/sys/dev/ofw/ofw_disk.c index 66155d3..dbf706c 100644 --- a/sys/dev/ofw/ofw_disk.c +++ b/sys/dev/ofw/ofw_disk.c @@ -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, struct bio *bp) 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; |