netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net/smc: Address spelling errors
@ 2024-10-09 10:05 Simon Horman
  2024-10-09 10:47 ` D. Wythe
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Simon Horman @ 2024-10-09 10:05 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Wenjia Zhang, Jan Karcher, D. Wythe, Tony Lu, Wen Gu
  Cc: Randy Dunlap, linux-s390, netdev

Address spelling errors flagged by codespell.

This patch is intended to cover all files under drivers/smc

Signed-off-by: Simon Horman <horms@kernel.org>
---
 net/smc/smc.h      | 2 +-
 net/smc/smc_clc.h  | 2 +-
 net/smc/smc_core.c | 2 +-
 net/smc/smc_core.h | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net/smc/smc.h b/net/smc/smc.h
index ad77d6b6b8d3..78ae10d06ed2 100644
--- a/net/smc/smc.h
+++ b/net/smc/smc.h
@@ -278,7 +278,7 @@ struct smc_connection {
 						 */
 	u64			peer_token;	/* SMC-D token of peer */
 	u8			killed : 1;	/* abnormal termination */
-	u8			freed : 1;	/* normal termiation */
+	u8			freed : 1;	/* normal termination */
 	u8			out_of_sync : 1; /* out of sync with peer */
 };
 
diff --git a/net/smc/smc_clc.h b/net/smc/smc_clc.h
index 5625fda2960b..5fd6f5b8ef03 100644
--- a/net/smc/smc_clc.h
+++ b/net/smc/smc_clc.h
@@ -156,7 +156,7 @@ struct smc_clc_msg_proposal_prefix {	/* prefix part of clc proposal message*/
 } __aligned(4);
 
 struct smc_clc_msg_smcd {	/* SMC-D GID information */
-	struct smc_clc_smcd_gid_chid ism; /* ISM native GID+CHID of requestor */
+	struct smc_clc_smcd_gid_chid ism; /* ISM native GID+CHID of requester */
 	__be16 v2_ext_offset;	/* SMC Version 2 Extension Offset */
 	u8 vendor_oui[3];	/* vendor organizationally unique identifier */
 	u8 vendor_exp_options[5];
diff --git a/net/smc/smc_core.c b/net/smc/smc_core.c
index 4e694860ece4..500952c2e67b 100644
--- a/net/smc/smc_core.c
+++ b/net/smc/smc_core.c
@@ -2321,7 +2321,7 @@ static struct smc_buf_desc *smcr_new_buf_create(struct smc_link_group *lgr,
 		}
 		if (lgr->buf_type == SMCR_PHYS_CONT_BUFS)
 			goto out;
-		fallthrough;	// try virtually continguous buf
+		fallthrough;	// try virtually contiguous buf
 	case SMCR_VIRT_CONT_BUFS:
 		buf_desc->order = get_order(bufsize);
 		buf_desc->cpu_addr = vzalloc(PAGE_SIZE << buf_desc->order);
diff --git a/net/smc/smc_core.h b/net/smc/smc_core.h
index 0db4e5f79ac4..69b54ecd6503 100644
--- a/net/smc/smc_core.h
+++ b/net/smc/smc_core.h
@@ -30,7 +30,7 @@
 					 */
 #define SMC_CONN_PER_LGR_PREFER	255	/* Preferred connections per link group used for
 					 * SMC-R v2.1 and later negotiation, vendors or
-					 * distrubutions may modify it to a value between
+					 * distributions may modify it to a value between
 					 * 16-255 as needed.
 					 */
 
@@ -181,7 +181,7 @@ struct smc_link {
 					 */
 #define SMC_LINKS_PER_LGR_MAX_PREFER	2	/* Preferred max links per link group used for
 						 * SMC-R v2.1 and later negotiation, vendors or
-						 * distrubutions may modify it to a value between
+						 * distributions may modify it to a value between
 						 * 1-2 as needed.
 						 */
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH net-next] net/smc: Address spelling errors
  2024-10-09 10:05 [PATCH net-next] net/smc: Address spelling errors Simon Horman
@ 2024-10-09 10:47 ` D. Wythe
  2024-10-09 13:02 ` Guangguan Wang
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: D. Wythe @ 2024-10-09 10:47 UTC (permalink / raw)
  To: Simon Horman, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Wenjia Zhang, Jan Karcher, Tony Lu, Wen Gu
  Cc: Randy Dunlap, linux-s390, netdev



On 10/9/24 6:05 PM, Simon Horman wrote:
> Address spelling errors flagged by codespell.
> 
> This patch is intended to cover all files under drivers/smc
> 
> Signed-off-by: Simon Horman <horms@kernel.org>
> ---
>   net/smc/smc.h      | 2 +-
>   net/smc/smc_clc.h  | 2 +-
>   net/smc/smc_core.c | 2 +-
>   net/smc/smc_core.h | 4 ++--
>   4 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/net/smc/smc.h b/net/smc/smc.h
> index ad77d6b6b8d3..78ae10d06ed2 100644
> --- a/net/smc/smc.h
> +++ b/net/smc/smc.h
> @@ -278,7 +278,7 @@ struct smc_connection {
>   						 */
>   	u64			peer_token;	/* SMC-D token of peer */
>   	u8			killed : 1;	/* abnormal termination */
> -	u8			freed : 1;	/* normal termiation */
> +	u8			freed : 1;	/* normal termination */
>   	u8			out_of_sync : 1; /* out of sync with peer */
>   };
>   
> diff --git a/net/smc/smc_clc.h b/net/smc/smc_clc.h
> index 5625fda2960b..5fd6f5b8ef03 100644
> --- a/net/smc/smc_clc.h
> +++ b/net/smc/smc_clc.h
> @@ -156,7 +156,7 @@ struct smc_clc_msg_proposal_prefix {	/* prefix part of clc proposal message*/
>   } __aligned(4);
>   
>   struct smc_clc_msg_smcd {	/* SMC-D GID information */
> -	struct smc_clc_smcd_gid_chid ism; /* ISM native GID+CHID of requestor */
> +	struct smc_clc_smcd_gid_chid ism; /* ISM native GID+CHID of requester */
>   	__be16 v2_ext_offset;	/* SMC Version 2 Extension Offset */
>   	u8 vendor_oui[3];	/* vendor organizationally unique identifier */
>   	u8 vendor_exp_options[5];
> diff --git a/net/smc/smc_core.c b/net/smc/smc_core.c
> index 4e694860ece4..500952c2e67b 100644
> --- a/net/smc/smc_core.c
> +++ b/net/smc/smc_core.c
> @@ -2321,7 +2321,7 @@ static struct smc_buf_desc *smcr_new_buf_create(struct smc_link_group *lgr,
>   		}
>   		if (lgr->buf_type == SMCR_PHYS_CONT_BUFS)
>   			goto out;
> -		fallthrough;	// try virtually continguous buf
> +		fallthrough;	// try virtually contiguous buf
>   	case SMCR_VIRT_CONT_BUFS:
>   		buf_desc->order = get_order(bufsize);
>   		buf_desc->cpu_addr = vzalloc(PAGE_SIZE << buf_desc->order);
> diff --git a/net/smc/smc_core.h b/net/smc/smc_core.h
> index 0db4e5f79ac4..69b54ecd6503 100644
> --- a/net/smc/smc_core.h
> +++ b/net/smc/smc_core.h
> @@ -30,7 +30,7 @@
>   					 */
>   #define SMC_CONN_PER_LGR_PREFER	255	/* Preferred connections per link group used for
>   					 * SMC-R v2.1 and later negotiation, vendors or
> -					 * distrubutions may modify it to a value between
> +					 * distributions may modify it to a value between
>   					 * 16-255 as needed.
>   					 */
>   
> @@ -181,7 +181,7 @@ struct smc_link {
>   					 */
>   #define SMC_LINKS_PER_LGR_MAX_PREFER	2	/* Preferred max links per link group used for
>   						 * SMC-R v2.1 and later negotiation, vendors or
> -						 * distrubutions may modify it to a value between
> +						 * distributions may modify it to a value between
>   						 * 1-2 as needed.
>   						 */
>   
> 

LGTM.

Reviewed-by: D. Wythe <alibuda@linux.alibaba.com>

D. Wythe


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH net-next] net/smc: Address spelling errors
  2024-10-09 10:05 [PATCH net-next] net/smc: Address spelling errors Simon Horman
  2024-10-09 10:47 ` D. Wythe
@ 2024-10-09 13:02 ` Guangguan Wang
  2024-10-09 14:06 ` Randy Dunlap
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Guangguan Wang @ 2024-10-09 13:02 UTC (permalink / raw)
  To: Simon Horman, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Wenjia Zhang, Jan Karcher, D. Wythe, Tony Lu, Wen Gu
  Cc: Randy Dunlap, linux-s390, netdev



On 2024/10/9 18:05, Simon Horman wrote:
> Address spelling errors flagged by codespell.
> 
> This patch is intended to cover all files under drivers/smc
> 
> Signed-off-by: Simon Horman <horms@kernel.org>
> ---
>  net/smc/smc.h      | 2 +-
>  net/smc/smc_clc.h  | 2 +-
>  net/smc/smc_core.c | 2 +-
>  net/smc/smc_core.h | 4 ++--
>  4 files changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/net/smc/smc.h b/net/smc/smc.h
> index ad77d6b6b8d3..78ae10d06ed2 100644
> --- a/net/smc/smc.h
> +++ b/net/smc/smc.h
> @@ -278,7 +278,7 @@ struct smc_connection {
>  						 */
>  	u64			peer_token;	/* SMC-D token of peer */
>  	u8			killed : 1;	/* abnormal termination */
> -	u8			freed : 1;	/* normal termiation */
> +	u8			freed : 1;	/* normal termination */
>  	u8			out_of_sync : 1; /* out of sync with peer */
>  };
>  
> diff --git a/net/smc/smc_clc.h b/net/smc/smc_clc.h
> index 5625fda2960b..5fd6f5b8ef03 100644
> --- a/net/smc/smc_clc.h
> +++ b/net/smc/smc_clc.h
> @@ -156,7 +156,7 @@ struct smc_clc_msg_proposal_prefix {	/* prefix part of clc proposal message*/
>  } __aligned(4);
>  
>  struct smc_clc_msg_smcd {	/* SMC-D GID information */
> -	struct smc_clc_smcd_gid_chid ism; /* ISM native GID+CHID of requestor */
> +	struct smc_clc_smcd_gid_chid ism; /* ISM native GID+CHID of requester */
>  	__be16 v2_ext_offset;	/* SMC Version 2 Extension Offset */
>  	u8 vendor_oui[3];	/* vendor organizationally unique identifier */
>  	u8 vendor_exp_options[5];
> diff --git a/net/smc/smc_core.c b/net/smc/smc_core.c
> index 4e694860ece4..500952c2e67b 100644
> --- a/net/smc/smc_core.c
> +++ b/net/smc/smc_core.c
> @@ -2321,7 +2321,7 @@ static struct smc_buf_desc *smcr_new_buf_create(struct smc_link_group *lgr,
>  		}
>  		if (lgr->buf_type == SMCR_PHYS_CONT_BUFS)
>  			goto out;
> -		fallthrough;	// try virtually continguous buf
> +		fallthrough;	// try virtually contiguous buf
>  	case SMCR_VIRT_CONT_BUFS:
>  		buf_desc->order = get_order(bufsize);
>  		buf_desc->cpu_addr = vzalloc(PAGE_SIZE << buf_desc->order);
> diff --git a/net/smc/smc_core.h b/net/smc/smc_core.h
> index 0db4e5f79ac4..69b54ecd6503 100644
> --- a/net/smc/smc_core.h
> +++ b/net/smc/smc_core.h
> @@ -30,7 +30,7 @@
>  					 */
>  #define SMC_CONN_PER_LGR_PREFER	255	/* Preferred connections per link group used for
>  					 * SMC-R v2.1 and later negotiation, vendors or
> -					 * distrubutions may modify it to a value between
> +					 * distributions may modify it to a value between
>  					 * 16-255 as needed.
>  					 */
>  
> @@ -181,7 +181,7 @@ struct smc_link {
>  					 */
>  #define SMC_LINKS_PER_LGR_MAX_PREFER	2	/* Preferred max links per link group used for
>  						 * SMC-R v2.1 and later negotiation, vendors or
> -						 * distrubutions may modify it to a value between
> +						 * distributions may modify it to a value between
>  						 * 1-2 as needed.
>  						 */
>  
> 

LGTM.

Reviewed-by: Guangguan Wang <guangguan.wang@linux.alibaba.com>

Thanks,
Guangguan Wang.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH net-next] net/smc: Address spelling errors
  2024-10-09 10:05 [PATCH net-next] net/smc: Address spelling errors Simon Horman
  2024-10-09 10:47 ` D. Wythe
  2024-10-09 13:02 ` Guangguan Wang
@ 2024-10-09 14:06 ` Randy Dunlap
  2024-10-09 14:57 ` Wenjia Zhang
  2024-10-10 16:20 ` patchwork-bot+netdevbpf
  4 siblings, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2024-10-09 14:06 UTC (permalink / raw)
  To: Simon Horman, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Wenjia Zhang, Jan Karcher, D. Wythe, Tony Lu, Wen Gu
  Cc: linux-s390, netdev



On 10/9/24 3:05 AM, Simon Horman wrote:
> Address spelling errors flagged by codespell.
> 
> This patch is intended to cover all files under drivers/smc
> 
> Signed-off-by: Simon Horman <horms@kernel.org>
> ---
>  net/smc/smc.h      | 2 +-
>  net/smc/smc_clc.h  | 2 +-
>  net/smc/smc_core.c | 2 +-
>  net/smc/smc_core.h | 4 ++--
>  4 files changed, 5 insertions(+), 5 deletions(-)
> 

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.
 

-- 
~Randy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH net-next] net/smc: Address spelling errors
  2024-10-09 10:05 [PATCH net-next] net/smc: Address spelling errors Simon Horman
                   ` (2 preceding siblings ...)
  2024-10-09 14:06 ` Randy Dunlap
@ 2024-10-09 14:57 ` Wenjia Zhang
  2024-10-10 16:20 ` patchwork-bot+netdevbpf
  4 siblings, 0 replies; 6+ messages in thread
From: Wenjia Zhang @ 2024-10-09 14:57 UTC (permalink / raw)
  To: Simon Horman, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Jan Karcher, D. Wythe, Tony Lu, Wen Gu
  Cc: Randy Dunlap, linux-s390, netdev



On 09.10.24 12:05, Simon Horman wrote:
> Address spelling errors flagged by codespell.
> 
> This patch is intended to cover all files under drivers/smc
> 
> Signed-off-by: Simon Horman <horms@kernel.org>
> ---

Reviewed-by: Wenjia Zhang <wenjia@linux.ibm.com>

Thanks,
Wenjia

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH net-next] net/smc: Address spelling errors
  2024-10-09 10:05 [PATCH net-next] net/smc: Address spelling errors Simon Horman
                   ` (3 preceding siblings ...)
  2024-10-09 14:57 ` Wenjia Zhang
@ 2024-10-10 16:20 ` patchwork-bot+netdevbpf
  4 siblings, 0 replies; 6+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-10-10 16:20 UTC (permalink / raw)
  To: Simon Horman
  Cc: davem, edumazet, kuba, pabeni, wenjia, jaka, alibuda, tonylu,
	guwen, rdunlap, linux-s390, netdev

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 09 Oct 2024 11:05:21 +0100 you wrote:
> Address spelling errors flagged by codespell.
> 
> This patch is intended to cover all files under drivers/smc
> 
> Signed-off-by: Simon Horman <horms@kernel.org>
> ---
>  net/smc/smc.h      | 2 +-
>  net/smc/smc_clc.h  | 2 +-
>  net/smc/smc_core.c | 2 +-
>  net/smc/smc_core.h | 4 ++--
>  4 files changed, 5 insertions(+), 5 deletions(-)

Here is the summary with links:
  - [net-next] net/smc: Address spelling errors
    https://git.kernel.org/netdev/net-next/c/cd959bf7c3bb

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-10-10 16:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-09 10:05 [PATCH net-next] net/smc: Address spelling errors Simon Horman
2024-10-09 10:47 ` D. Wythe
2024-10-09 13:02 ` Guangguan Wang
2024-10-09 14:06 ` Randy Dunlap
2024-10-09 14:57 ` Wenjia Zhang
2024-10-10 16:20 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).