diff mbox series

[v1,net-next] sctp: Fix typos in comments across various files

Message ID 20240924062203.3127621-1-yujiaoliang@vivo.com (mailing list archive)
State Deferred
Delegated to: Netdev Maintainers
Headers show
Series [v1,net-next] sctp: Fix typos in comments across various files | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/ynl success Generated files up to date; no warnings/errors; no diff in generated;
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 16 this patch: 16
netdev/build_tools success No tools touched, skip
netdev/cc_maintainers success CCed 7 of 7 maintainers
netdev/build_clang success Errors and warnings before: 16 this patch: 16
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 17 this patch: 17
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 32 lines checked
netdev/build_clang_rust success No Rust files in patch. Skipping build
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/contest success net-next-2024-09-26--21-00 (tests: 768)

Commit Message

Yu Jiaoliang Sept. 24, 2024, 6:22 a.m. UTC
This commit corrects spelling errors in comments
within the stcp subsystem to enhance clarity and
maintainability of the code.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
---
 net/sctp/auth.c   | 4 ++--
 net/sctp/chunk.c  | 2 +-
 net/sctp/socket.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

Comments

Maxime Chevallier Sept. 24, 2024, 8:11 a.m. UTC | #1
Hello,

On Tue, 24 Sep 2024 14:22:03 +0800
Yu Jiaoliang <yujiaoliang@vivo.com> wrote:

> This commit corrects spelling errors in comments
> within the stcp subsystem to enhance clarity and
> maintainability of the code.
> 
> Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>

net-next is currently closed, please wait for it to re-open to resend
this.

https://docs.kernel.org/process/maintainer-netdev.html#git-trees-and-patch-flow

Thanks,

Maxime
diff mbox series

Patch

diff --git a/net/sctp/auth.c b/net/sctp/auth.c
index c58fffc86a0c..4bec21f8cb36 100644
--- a/net/sctp/auth.c
+++ b/net/sctp/auth.c
@@ -460,7 +460,7 @@  int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp)
 	if (ep->auth_hmacs)
 		return 0;
 
-	/* Allocated the array of pointers to transorms */
+	/* Allocated the array of pointers to transforms */
 	ep->auth_hmacs = kcalloc(SCTP_AUTH_NUM_HMACS,
 				 sizeof(struct crypto_shash *),
 				 gfp);
@@ -774,7 +774,7 @@  int sctp_auth_ep_add_chunkid(struct sctp_endpoint *ep, __u8 chunk_id)
 	return 0;
 }
 
-/* Add hmac identifires to the endpoint list of supported hmac ids */
+/* Add hmac identifiers to the endpoint list of supported hmac ids */
 int sctp_auth_ep_set_hmacs(struct sctp_endpoint *ep,
 			   struct sctp_hmacalgo *hmacs)
 {
diff --git a/net/sctp/chunk.c b/net/sctp/chunk.c
index fd4f8243cc35..19f4562a3b7f 100644
--- a/net/sctp/chunk.c
+++ b/net/sctp/chunk.c
@@ -68,7 +68,7 @@  void sctp_datamsg_free(struct sctp_datamsg *msg)
 	sctp_datamsg_put(msg);
 }
 
-/* Final destructruction of datamsg memory. */
+/* Final destruction of datamsg memory. */
 static void sctp_datamsg_destroy(struct sctp_datamsg *msg)
 {
 	struct sctp_association *asoc = NULL;
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index 32f76f1298da..9fe18414a355 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -6631,7 +6631,7 @@  static int sctp_getsockopt_associnfo(struct sock *sk, int len,
 	    sctp_style(sk, UDP))
 		return -EINVAL;
 
-	/* Values correspoinding to the specific association */
+	/* Values corresponding to the specific association */
 	if (asoc) {
 		assocparams.sasoc_asocmaxrxt = asoc->max_retrans;
 		assocparams.sasoc_peer_rwnd = asoc->peer.rwnd;