summaryrefslogtreecommitdiff
path: root/net/sunrpc/sysfs.c
diff options
context:
space:
mode:
authorXichao Zhao <zhao.xichao@vivo.com>2025-08-12 19:33:59 +0800
committerChuck Lever <chuck.lever@oracle.com>2025-09-21 19:24:50 -0400
commit6c15463c4511d26f2a820f63f5b76624a71afc44 (patch)
treefc408f9c69d904524510a51bd9581b3dd2087ef7 /net/sunrpc/sysfs.c
parent13289ed501bad7a37ccbfa8581961d2e9dd4aea3 (diff)
sunrpc: fix "occurence"->"occurrence"
Trivial fix to spelling mistake in comment text. Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com> Reviewed-by: Joe Damato <joe@dama.to> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/sysfs.c')
-rw-r--r--net/sunrpc/sysfs.c2
1 files changed, 1 insertions, 1 deletions
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");