git: 1da11b8ac347 - main - Fix a common typo in source code comments

Gordon Bergling gbe at FreeBSD.org
Sat Aug 14 12:09:30 UTC 2021


The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=1da11b8ac3474817f38330e272f50553f2ef21a4

commit 1da11b8ac3474817f38330e272f50553f2ef21a4
Author:     Gordon Bergling <gbe at FreeBSD.org>
AuthorDate: 2021-08-14 12:08:46 +0000
Commit:     Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2021-08-14 12:08:46 +0000

    Fix a common typo in source code comments
    
    - s/definitons/definitions/
    
    MFC after:      5 days
---
 sys/cam/scsi/scsi_da.c     | 2 +-
 sys/mips/include/cpuregs.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index 40978d68cebf..31aeb59d9438 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -4486,7 +4486,7 @@ dazonedone(struct cam_periph *periph, union ccb *ccb)
 			/*
 			 * NOTE: we're mapping the values here directly
 			 * from the SCSI/ATA bit definitions to the bio.h
-			 * definitons.  There is also a warning in
+			 * definitions. There is also a warning in
 			 * disk_zone.h, but the impact is that if
 			 * additional values are added in the SCSI/ATA
 			 * specs these will be visible to consumers of
diff --git a/sys/mips/include/cpuregs.h b/sys/mips/include/cpuregs.h
index c61724564a59..2b5a0ce554dc 100644
--- a/sys/mips/include/cpuregs.h
+++ b/sys/mips/include/cpuregs.h
@@ -222,7 +222,7 @@
 #define MIPS_SR_INT_MASK	0x0000ff00
 
 /*
- * R4000 status register bit definitons,
+ * R4000 status register bit definitions,
  * where different from r2000/r3000.
  */
 #define	MIPS_SR_XX		0x80000000


More information about the dev-commits-src-all mailing list