net: fix typos in comments
Subsystems (4)
cover net: fix typos in comments
This corrects 2 misspellings in comments. Each is a separate patch so that any one of them can be dropped without touching the rest.
Nothing outside comments changes. Every touched C file was checked by dropping its comments, replacing each string literal with a placeholder and collapsing whitespace; what remained was identical before and after, so the compiled code cannot differ.
The mistakes were found with scripts/checkpatch.pl against the list in scripts/spelling.txt. The scanning, the edits and the changelogs were produced with Cursor running the claude-opus-5 model, from a request to find and fix spelling mistakes across the tree, and every correction was then re-checked by the comparison described above. Words that name an identifier were left alone deliberately, even when they read as typos, because correcting the prose would make the comment disagree with the code it describes.
Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which is clean. Nothing else was built, so any patch touching code that x86_64 defconfig does not compile has been read but not compiled.
Hemanth Selam (2):
net: sunrpc: fix typo "miliseconds" in comment
nfsd: fix typos in comments
fs/nfsd/nfs4callback.c | 2 +- fs/nfsd/nfsctl.c | 2 +- net/sunrpc/auth_gss/auth_gss.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.48.1
PATCH 1/2 net: sunrpc: fix typo "miliseconds" in comment
Correct "miliseconds" to "milliseconds", reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- net/sunrpc/auth_gss/auth_gss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/sunrpc/auth_gss/auth_gss.c +1 -1
@@ -1468,7 +1468,7 @@ gss_stringify_acceptor(struct rpc_cred *cred)/* * Returns -EACCES if GSS context is NULL or will expire within the -* timeout (miliseconds) +* timeout (milliseconds) */ static int gss_key_timeout (struct rpc_cred *rc)
Signature · 1 line
2.48.1
Jeff Layton
maintainerRe: [PATCH 1/2] net: sunrpc: fix typo "miliseconds" in comment
Quoted 15 lines · Hemanth Selam
Correct "miliseconds" to "milliseconds", reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>--- net/sunrpc/auth_gss/auth_gss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)net/sunrpc/auth_gss/auth_gss.c +0
-0
net/sunrpc/auth_gss/auth_gss.c gss_stringify_acceptor(struct rpc_cred *cred) · line 1474
Quoted 8 lines
net/sunrpc/auth_gss/auth_gss.c +1
-1@@ -1468,7 +1468,7 @@ gss_stringify_acceptor(struct rpc_cred *cred)/* * Returns -EACCES if GSS context is NULL or will expire within the -* timeout (miliseconds) +* timeout (milliseconds) */ static int gss_key_timeout (struct rpc_cred *rc)
We often don't take these sorts of patches because they tend to create merge conflicts when other patches alter code in the same area. If you're making real code changes in the area, then sure, go ahead and fix nearby comments, but making typo fixes in isolation is usually more trouble than it's worth.
Signature · 1 line
Jeff Layton <[email protected]>
PATCH 2/2 nfsd: fix typos in comments
In reply to Hemanth SelamFix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- fs/nfsd/nfs4callback.c | 2 +- fs/nfsd/nfsctl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
fs/nfsd/nfs4callback.c +1 -1
@@ -536,7 +536,7 @@ static void update_cb_slot_table(struct nfsd4_session *ses, u32 target)* void; * }; * -* Our current back channel implmentation supports a single backchannel +* Our current back channel implementation supports a single backchannel * with a single slot. */ static int decode_cb_sequence4resok(struct xdr_stream *xdr,
fs/nfsd/nfsctl.c +1 -1
@@ -556,7 +556,7 @@ nfsd_print_version_support(struct nfsd_net *nn, char *buf, int remaining, supported = false;if (minor ==0 && supported)/* -* special case for backward compatability. +* special case for backward compatibility. * +4.0 is never reported, it is implied by * +4, unless -4.0 is present. */
Signature · 1 line
2.48.1