Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2022 06:28:37 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 5762c518ce33 - stable/12 - cam(4): Fix a few typos in source code comments
Message-ID:  <202202090628.2196SbjL038272@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=5762c518ce33a3fae9d7c8269fbbd0de55035f8a

commit 5762c518ce33a3fae9d7c8269fbbd0de55035f8a
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-02-06 12:45:47 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-02-09 06:27:26 +0000

    cam(4): Fix a few typos in source code comments
    
    - s/trafer/transfer/
    - s/failes/fails/
    
    Obtained from:  NetBSD
    
    (cherry picked from commit f32dd4d58a71f420317f4e16ba82f5ee5fed5dd4)
---
 sys/cam/cam_queue.c    | 2 +-
 sys/cam/scsi/scsi_ch.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/cam/cam_queue.c b/sys/cam/cam_queue.c
index a700195b819f..5de61796a8db 100644
--- a/sys/cam/cam_queue.c
+++ b/sys/cam/cam_queue.c
@@ -92,7 +92,7 @@ camq_init(struct camq *camq, int size)
 
 /*
  * Free a camq structure.  This should only be called if a controller
- * driver failes somehow during its attach routine or is unloaded and has
+ * driver fails somehow during its attach routine or is unloaded and has
  * obtained a camq structure.  The XPT should ensure that the queue
  * is empty before calling this routine.
  */
diff --git a/sys/cam/scsi/scsi_ch.h b/sys/cam/scsi/scsi_ch.h
index 30d85620814b..efab7a05d9fb 100644
--- a/sys/cam/scsi/scsi_ch.h
+++ b/sys/cam/scsi/scsi_ch.h
@@ -440,7 +440,7 @@ struct page_element_address_assignment {
 	/* First data transfer element address */
 	u_int8_t	fdtea[2];
 
-	/* Number of data trafer elements */
+	/* Number of data transfer elements */
 	u_int8_t	ndte[2];
 
 	u_int8_t	reserved[2];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202090628.2196SbjL038272>