Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src-all/rev/a36aa29b7545
branches:  trunk
changeset: 939090:a36aa29b7545
user:      Jonathan A. Kollasch <jakllsch%NetBSD.org@localhost>
date:      Fri Sep 25 08:08:56 2020 -0500

description:
spelling fixes in sd.c comments

diffstat:

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

diffs (39 lines):

diff -r 6f05eea6e7b7 -r a36aa29b7545 sys/dev/scsipi/sd.c
--- a/sys/dev/scsipi/sd.c       Thu Sep 24 14:54:03 2020 +0000
+++ b/sys/dev/scsipi/sd.c       Fri Sep 25 08:08:56 2020 -0500
@@ -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