[PATCH] sunrpc: fix "occurence"->"occurrence"

Subsystems: kernel nfsd, sunrpc, and lockd servers, networking [general], nfs, sunrpc, and lockd clients, the rest

STALE366d

4 messages, 4 authors, 2025-09-05 · open the first message on its own page

[PATCH] sunrpc: fix "occurence"->"occurrence"

From: Xichao Zhao <hidden>
Date: 2025-08-12 11:34:18

Trivial fix to spelling mistake in comment text.

Signed-off-by: Xichao Zhao <redacted>
---
 net/sunrpc/sysfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/sunrpc/sysfs.c b/net/sunrpc/sysfs.c
index 09434e1143c5..8b01b7ae2690 100644
--- a/net/sunrpc/sysfs.c
+++ b/net/sunrpc/sysfs.c
@@ -389,7 +389,7 @@ static ssize_t rpc_sysfs_xprt_dstaddr_store(struct kobject *kobj,
 	saddr = (struct sockaddr *)&xprt->addr;
 	port = rpc_get_port(saddr);
 
-	/* buf_len is the len until the first occurence of either
+	/* buf_len is the len until the first occurrence of either
 	 * '\n' or '\0'
 	 */
 	buf_len = strcspn(buf, "\n");
-- 
2.34.1

Re: [PATCH] sunrpc: fix "occurence"->"occurrence"

From: Joe Damato <hidden>
Date: 2025-08-12 17:57:58

On Tue, Aug 12, 2025 at 07:33:59PM +0800, Xichao Zhao wrote:
quoted hunk
Trivial fix to spelling mistake in comment text.

Signed-off-by: Xichao Zhao <redacted>
---
 net/sunrpc/sysfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/sunrpc/sysfs.c b/net/sunrpc/sysfs.c
index 09434e1143c5..8b01b7ae2690 100644
--- a/net/sunrpc/sysfs.c
+++ b/net/sunrpc/sysfs.c
@@ -389,7 +389,7 @@ static ssize_t rpc_sysfs_xprt_dstaddr_store(struct kobject *kobj,
 	saddr = (struct sockaddr *)&xprt->addr;
 	port = rpc_get_port(saddr);
 
-	/* buf_len is the len until the first occurence of either
+	/* buf_len is the len until the first occurrence of either
 	 * '\n' or '\0'
 	 */
 	buf_len = strcspn(buf, "\n");
In the future probably a good idea to add net-next to the subject line so it
is clear which tree you are targeting (e.g. [PATCH net-next]).

Reviewed-by: Joe Damato <redacted>

Re: [PATCH] sunrpc: fix "occurence"->"occurrence"

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-08-12 20:46:08

On Tue, 12 Aug 2025 10:57:55 -0700 Joe Damato wrote:
In the future probably a good idea to add net-next to the subject line so it
is clear which tree you are targeting (e.g. [PATCH net-next]).
net/sunrpc/ change usually go via nfs trees, FWIW

Re: [PATCH] sunrpc: fix "occurence"->"occurrence"

From: Chuck Lever <cel@kernel.org>
Date: 2025-09-05 14:25:28

From: Chuck Lever <redacted>

On Tue, 12 Aug 2025 19:33:59 +0800, Xichao Zhao wrote:
Trivial fix to spelling mistake in comment text.
Applied to nfsd-testing, thanks!

[1/1] sunrpc: fix "occurence"->"occurrence"
      commit: 0537ff762ce5e18676e9e144456ae7cdd3f4410c

--
Chuck Lever
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help