git: f32dd4d58a71 - main - cam(4): Fix a few typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 06 Feb 2022 12:46:01 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=f32dd4d58a71f420317f4e16ba82f5ee5fed5dd4
commit f32dd4d58a71f420317f4e16ba82f5ee5fed5dd4
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-02-06 12:45:47 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-02-06 12:45:47 +0000
cam(4): Fix a few typos in source code comments
- s/trafer/transfer/
- s/failes/fails/
Obtained from: NetBSD
MFC after: 3 days
---
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 1bb1713d65c5..5ad765583020 100644
--- a/sys/cam/cam_queue.c
+++ b/sys/cam/cam_queue.c
@@ -76,7 +76,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];