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

Xichao Zhao posted 1 patch 1 month, 3 weeks ago
net/sunrpc/sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] sunrpc: fix "occurence"->"occurrence"
Posted by Xichao Zhao 1 month, 3 weeks ago
Trivial fix to spelling mistake in comment text.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
---
 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"
Posted by Chuck Lever 4 weeks, 1 day ago
From: Chuck Lever <chuck.lever@oracle.com>

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
Re: [PATCH] sunrpc: fix "occurence"->"occurrence"
Posted by Joe Damato 1 month, 3 weeks ago
On Tue, Aug 12, 2025 at 07:33:59PM +0800, Xichao Zhao wrote:
> Trivial fix to spelling mistake in comment text.
> 
> Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
> ---
>  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 <joe@dama.to>
Re: [PATCH] sunrpc: fix "occurence"->"occurrence"
Posted by Jakub Kicinski 1 month, 3 weeks ago
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