Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/scsipi spelling fixes in sd.c comments



details:   https://anonhg.NetBSD.org/src/rev/3c56d52b2b0b
branches:  trunk
changeset: 955257:3c56d52b2b0b
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Fri Sep 25 13:08:00 2020 +0000

description:
spelling fixes in sd.c comments

diffstat:

 sys/dev/scsipi/sd.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 56241f64200b -r 3c56d52b2b0b sys/dev/scsipi/sd.c
--- a/sys/dev/scsipi/sd.c       Fri Sep 25 12:52:59 2020 +0000
+++ b/sys/dev/scsipi/sd.c       Fri Sep 25 13:08:00 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sd.c,v 1.329 2020/04/13 08:05:02 maxv Exp $    */
+/*     $NetBSD: sd.c,v 1.330 2020/09/25 13:08:00 jakllsch Exp $        */
 
 /*-
  * Copyright (c) 1998, 2003, 2004 The NetBSD Foundation, Inc.
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.329 2020/04/13 08:05:02 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.330 2020/09/25 13:08:00 jakllsch Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_scsi.h"
@@ -444,7 +444,7 @@
 
        /*
         * Start the pack spinning if necessary. Always allow the
-        * raw parition to be opened, for raw IOCTLs. Data transfers
+        * raw partition to be opened, for raw IOCTLs. Data transfers
         * will check for SDEV_MEDIA_LOADED.
         */
        if (error == EIO) {
@@ -588,7 +588,7 @@
 }
 
 /*
- * close the device.. only called if we are the LAST occurence of an open
+ * close the device.. only called if we are the LAST occurrence of an open
  * device.  Convenient now but usually a pain.
  */
 static int
@@ -642,7 +642,7 @@
 /*
  * Issue single I/O command
  *
- * Called from dk_start and implicitely from dk_strategy
+ * Called from dk_start and implicitly from dk_strategy
  */
 static int
 sd_diskstart(device_t dev, struct buf *bp)
@@ -871,7 +871,7 @@
         *
         * XXX Note that the SCSI-I spec says that 256-block transfers
         * are allowed in a 6-byte read/write, and are specified
-        * by settng the "length" to 0.  However, we're conservative
+        * by setting the "length" to 0.  However, we're conservative
         * here, allowing only 255-block transfers in case an
         * ancient device gets confused by length == 0.  A length of 0
         * in a 10-byte read/write actually means 0 blocks.



Home | Main Index | Thread Index | Old Index