git: 12d3e841d649 - stable/13 - cam(4): Fix a few typos in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Wed, 09 Feb 2022 06:20:50 UTC
The branch stable/13 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=12d3e841d6493a0cd23f15f8c99eac2e37bf809e

commit 12d3e841d6493a0cd23f15f8c99eac2e37bf809e
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:19:30 +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 074b0545a1fd..d42685057791 100644
--- a/sys/cam/cam_queue.c
+++ b/sys/cam/cam_queue.c
@@ -77,7 +77,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];