]> www.infradead.org Git - users/hch/misc.git/commitdiff
sunrpc: fix "occurence"->"occurrence"
authorXichao Zhao <zhao.xichao@vivo.com>
Tue, 12 Aug 2025 11:33:59 +0000 (19:33 +0800)
committerChuck Lever <chuck.lever@oracle.com>
Sun, 21 Sep 2025 23:24:50 +0000 (19:24 -0400)
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>
net/sunrpc/sysfs.c

index 09434e1143c532931bb44fa62368cc633d461435..8b01b7ae2690c7bfc2baa8a5373608d61f7bf5bc 100644 (file)
@@ -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");