git: bd0961f0663a - stable/12 - Fix a common typo in source code comments

Gordon Bergling gbe at FreeBSD.org
Tue Sep 7 07:27:01 UTC 2021


The branch stable/12 has been updated by gbe (doc committer):

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

commit bd0961f0663af764dc196fcab1b46e946cbcd931
Author:     Gordon Bergling <gbe at FreeBSD.org>
AuthorDate: 2021-09-04 10:56:57 +0000
Commit:     Gordon Bergling <gbe at FreeBSD.org>
CommitDate: 2021-09-07 07:26:25 +0000

    Fix a common typo in source code comments
    
    - s/existant/existent/
    
    (cherry picked from commit 631504fb346800f95fc581c15eb88b01c1b66fcf)
---
 sys/dev/sfxge/common/efx_vpd.c       | 2 +-
 sys/mips/cavium/octe/ethernet-util.h | 2 +-
 sys/netinet/sctp_output.c            | 4 ++--
 sys/rpc/svc.h                        | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys/dev/sfxge/common/efx_vpd.c b/sys/dev/sfxge/common/efx_vpd.c
index 1d48fc327444..4e699c0dd993 100644
--- a/sys/dev/sfxge/common/efx_vpd.c
+++ b/sys/dev/sfxge/common/efx_vpd.c
@@ -895,7 +895,7 @@ efx_vpd_hunk_set(
 
 				/*
 				 * The keyword doesn't already exist. If the
-				 * user deleting a non-existant keyword then
+				 * user deleting a non-existent keyword then
 				 * this is a no-op.
 				 */
 				if (evvp->evv_length == 0)
diff --git a/sys/mips/cavium/octe/ethernet-util.h b/sys/mips/cavium/octe/ethernet-util.h
index add5f8918833..867ee1961046 100644
--- a/sys/mips/cavium/octe/ethernet-util.h
+++ b/sys/mips/cavium/octe/ethernet-util.h
@@ -61,7 +61,7 @@ static inline int INTERFACE(int ipd_port)
 		return 2;
 	else if (ipd_port < 40)   /* Interface 3 for loopback */
 		return 3;
-	else if (ipd_port == 40)  /* Non existant interface for POW0 */
+	else if (ipd_port == 40)  /* Non existent interface for POW0 */
 		return 4;
 	else
 		panic("Illegal ipd_port %d passed to INTERFACE\n", ipd_port);
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index dd98c97f2ee4..fd2ea4093d54 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -12696,8 +12696,8 @@ sctp_lower_sosend(struct socket *so,
 			if ((sinfo_flags & SCTP_ABORT) ||
 			    ((sinfo_flags & SCTP_EOF) && (sndlen == 0))) {
 				/*-
-				 * User asks to abort a non-existant assoc,
-				 * or EOF a non-existant assoc with no data
+				 * User asks to abort a non-existent assoc,
+				 * or EOF a non-existent assoc with no data
 				 */
 				SCTP_LTRACE_ERR_RET(inp, stcb, net, SCTP_FROM_SCTP_OUTPUT, ENOENT);
 				error = ENOENT;
diff --git a/sys/rpc/svc.h b/sys/rpc/svc.h
index f5e3fcad3ff1..d7fef88e9764 100644
--- a/sys/rpc/svc.h
+++ b/sys/rpc/svc.h
@@ -661,7 +661,7 @@ __END_DECLS
  * Somebody has to wait for incoming requests and then call the correct
  * service routine.  The routine svc_run does infinite waiting; i.e.,
  * svc_run never returns.
- * Since another (co-existant) package may wish to selectively wait for
+ * Since another (co-existent) package may wish to selectively wait for
  * incoming calls or other events outside of the rpc architecture, the
  * routine svc_getreq is provided.  It must be passed readfds, the
  * "in-place" results of a select system call (see select, section 2).


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