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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>
> ---
>  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@xxxxxxx>




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux