Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Sep 2021 07:25:23 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: 6a93acc380d8 - stable/13 - Fix a common typo in source code comments
Message-ID:  <202109070725.1877PNpA010441@gitrepo.freebsd.org>

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

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

commit 6a93acc380d8e40750edf7464c23e40e969a1d56
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2021-09-04 10:56:57 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2021-09-07 07:24:05 +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 55ad2fde136e..daebf40d8c89 100644
--- a/sys/dev/sfxge/common/efx_vpd.c
+++ b/sys/dev/sfxge/common/efx_vpd.c
@@ -901,7 +901,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 2c6c280a15ba..1a4144233c75 100644
--- a/sys/mips/cavium/octe/ethernet-util.h
+++ b/sys/mips/cavium/octe/ethernet-util.h
@@ -59,7 +59,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 e34534e80fa3..4be4ef375ca0 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -12689,8 +12689,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 d92fa6953891..9a6efdef78a9 100644
--- a/sys/rpc/svc.h
+++ b/sys/rpc/svc.h
@@ -669,7 +669,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).



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