* [PATCH 0/2] net: fix typos in comments
@ 2026-09-04 11:05 Hemanth Selam
2026-09-04 11:05 ` [PATCH 1/2] net: sunrpc: fix typo "miliseconds" in comment Hemanth Selam
2026-09-04 11:05 ` [PATCH 2/2] nfsd: fix typos in comments Hemanth Selam
0 siblings, 2 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:05 UTC (permalink / raw)
Cc: linux-kernel
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(-)
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] net: sunrpc: fix typo "miliseconds" in comment
2026-09-04 11:05 [PATCH 0/2] net: fix typos in comments Hemanth Selam
@ 2026-09-04 11:05 ` Hemanth Selam
2026-09-04 11:12 ` Jeff Layton
2026-09-04 11:05 ` [PATCH 2/2] nfsd: fix typos in comments Hemanth Selam
1 sibling, 1 reply; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:05 UTC (permalink / raw)
To: Chuck Lever, Jeff Layton, NeilBrown, Olga Kornievskaia, Dai Ngo,
Tom Talpey, Trond Myklebust, Anna Schumaker, David S. Miller,
Eric Dumazet, Jakub Kicinski, Paolo Abeni, Simon Horman
Cc: linux-kernel, linux-nfs, netdev
Correct "miliseconds" to "milliseconds", reported by scripts/checkpatch.pl
using the misspelling list in scripts/spelling.txt. Only touches comments,
no code changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
net/sunrpc/auth_gss/auth_gss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c
index 8ddc65e894da..8de85da8ee42 100644
--- a/net/sunrpc/auth_gss/auth_gss.c
+++ b/net/sunrpc/auth_gss/auth_gss.c
@@ -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)
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 2/2] nfsd: fix typos in comments
2026-09-04 11:05 [PATCH 0/2] net: fix typos in comments Hemanth Selam
2026-09-04 11:05 ` [PATCH 1/2] net: sunrpc: fix typo "miliseconds" in comment Hemanth Selam
@ 2026-09-04 11:05 ` Hemanth Selam
1 sibling, 0 replies; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:05 UTC (permalink / raw)
To: Chuck Lever, Jeff Layton, NeilBrown, Olga Kornievskaia, Dai Ngo,
Tom Talpey
Cc: linux-kernel, linux-nfs
Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
fs/nfsd/nfs4callback.c | 2 +-
fs/nfsd/nfsctl.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/nfsd/nfs4callback.c b/fs/nfsd/nfs4callback.c
index a901bbe67e03..d616bbd66b79 100644
--- a/fs/nfsd/nfs4callback.c
+++ b/fs/nfsd/nfs4callback.c
@@ -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,
diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c
index adb032b7311a..489de0c0f0a6 100644
--- a/fs/nfsd/nfsctl.c
+++ b/fs/nfsd/nfsctl.c
@@ -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.
*/
--
2.48.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] net: sunrpc: fix typo "miliseconds" in comment
2026-09-04 11:05 ` [PATCH 1/2] net: sunrpc: fix typo "miliseconds" in comment Hemanth Selam
@ 2026-09-04 11:12 ` Jeff Layton
0 siblings, 0 replies; 4+ messages in thread
From: Jeff Layton @ 2026-09-04 11:12 UTC (permalink / raw)
To: Hemanth Selam, Chuck Lever, NeilBrown, Olga Kornievskaia,
Dai Ngo, Tom Talpey, Trond Myklebust, Anna Schumaker,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Simon Horman
Cc: linux-kernel, linux-nfs, netdev
On Fri, 2026-09-04 at 16:35 +0530, Hemanth Selam wrote:
> Correct "miliseconds" to "milliseconds", reported by scripts/checkpatch.pl
> using the misspelling list in scripts/spelling.txt. Only touches comments,
> no code changes.
>
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---
> net/sunrpc/auth_gss/auth_gss.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/net/sunrpc/auth_gss/auth_gss.c b/net/sunrpc/auth_gss/auth_gss.c
> index 8ddc65e894da..8de85da8ee42 100644
> --- a/net/sunrpc/auth_gss/auth_gss.c
> +++ b/net/sunrpc/auth_gss/auth_gss.c
> @@ -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.
--
Jeff Layton <jlayton@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-09-04 11:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 11:05 [PATCH 0/2] net: fix typos in comments Hemanth Selam
2026-09-04 11:05 ` [PATCH 1/2] net: sunrpc: fix typo "miliseconds" in comment Hemanth Selam
2026-09-04 11:12 ` Jeff Layton
2026-09-04 11:05 ` [PATCH 2/2] nfsd: fix typos in comments Hemanth Selam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®