net/sunrpc/sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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
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
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>
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
© 2016 - 2025 Red Hat, Inc.