summaryrefslogtreecommitdiffstats
path: root/sys/scsi/worm.c
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 08:16:23 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 08:16:23 +0000
commitc86f0c7a71e7ade3e38b325c186a9cf374e0411e (patch)
tree176f04f674860c7cfae9ac5d2ff4d4e1d73cb2b7 /sys/scsi/worm.c
parent423ba8f9bc23d93bfc244aca9b12563b1c9de90d (diff)
downloadFreeBSD-src-c86f0c7a71e7ade3e38b325c186a9cf374e0411e.zip
FreeBSD-src-c86f0c7a71e7ade3e38b325c186a9cf374e0411e.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'sys/scsi/worm.c')
-rw-r--r--sys/scsi/worm.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/scsi/worm.c b/sys/scsi/worm.c
index b62fc02..9f5375d 100644
--- a/sys/scsi/worm.c
+++ b/sys/scsi/worm.c
@@ -1,4 +1,4 @@
-/*
+/*
* worm: Write Once device driver
*
* Copyright (C) 1995, HD Associates, Inc.
@@ -37,7 +37,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: worm.c,v 1.5 1995/05/03 23:38:20 gpalmer Exp $
+ * $Id: worm.c,v 1.6 1995/05/03 23:53:32 dufault Exp $
*/
/* XXX This is PRELIMINARY.
@@ -123,7 +123,7 @@ static int worm_size(struct scsi_link *sc_link)
return ret;
}
-errval
+errval
wormattach(struct scsi_link *sc_link)
{
struct scsi_data *worm = sc_link->sd;
@@ -156,7 +156,7 @@ wormattach(struct scsi_link *sc_link)
* into. In particular, the removable media checking should be
* handled in one place.
*/
-void
+void
wormstart(unit, flags)
u_int32 unit;
u_int32 flags;
@@ -248,7 +248,7 @@ badnews:
} /* go back and see if we can cram more work in.. */
}
-void
+void
worm_strategy(struct buf *bp, struct scsi_link *sc_link)
{
struct buf **dp;
@@ -272,10 +272,10 @@ worm_strategy(struct buf *bp, struct scsi_link *sc_link)
opri = splbio();
- /*
+ /*
* Use a bounce buffer if necessary
* XXX: How can we move this up?
- */
+ */
#ifdef BOUNCE_BUFFERS
if (sc_link->flags & SDEV_BOUNCE)
vm_bounce_alloc(bp);
@@ -301,7 +301,7 @@ worm_strategy(struct buf *bp, struct scsi_link *sc_link)
/*
* Open the device. XXX: I'm completely guessing at this sequence.
*/
-int
+int
worm_open(dev_t dev, int flags, int fmt, struct proc *p,
struct scsi_link *sc_link)
{
@@ -347,7 +347,7 @@ struct scsi_link *sc_link)
return 0;
}
-int
+int
worm_close(dev_t dev, int flag, int fmt, struct proc *p,
struct scsi_link *sc_link)
{
OpenPOWER on IntegriCloud