All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mellanox/mlxsw: fix repeated words in comments
@ 2022-09-08 12:43 wangjianli
  2022-09-08 13:57 ` Randy Dunlap
  2022-09-16 10:50 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 6+ messages in thread
From: wangjianli @ 2022-09-08 12:43 UTC (permalink / raw)
  To: idosch, petrm, davem, edumazet, kuba, pabeni
  Cc: netdev, linux-kernel, wangjianli

Delete the redundant word 'in'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
index 2c4443c6b964..48f1fa62a4fd 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
@@ -1819,7 +1819,7 @@ void mlxsw_sp_ipip_entry_demote_tunnel(struct mlxsw_sp *mlxsw_sp,
 /* The configuration where several tunnels have the same local address in the
  * same underlay table needs special treatment in the HW. That is currently not
  * implemented in the driver. This function finds and demotes the first tunnel
- * with a given source address, except the one passed in in the argument
+ * with a given source address, except the one passed in the argument
  * `except'.
  */
 bool
-- 
2.36.1


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

* Re: [PATCH] mellanox/mlxsw: fix repeated words in comments
  2022-09-08 12:43 [PATCH] mellanox/mlxsw: fix repeated words in comments wangjianli
@ 2022-09-08 13:57 ` Randy Dunlap
  2022-09-16 10:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2022-09-08 13:57 UTC (permalink / raw)
  To: wangjianli, idosch, petrm, davem, edumazet, kuba, pabeni
  Cc: netdev, linux-kernel



On 9/8/22 05:43, wangjianli wrote:
> Delete the redundant word 'in'.
> 
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
>  drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
> index 2c4443c6b964..48f1fa62a4fd 100644
> --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
> +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
> @@ -1819,7 +1819,7 @@ void mlxsw_sp_ipip_entry_demote_tunnel(struct mlxsw_sp *mlxsw_sp,
>  /* The configuration where several tunnels have the same local address in the
>   * same underlay table needs special treatment in the HW. That is currently not
>   * implemented in the driver. This function finds and demotes the first tunnel
> - * with a given source address, except the one passed in in the argument
> + * with a given source address, except the one passed in the argument

Yeah, either way is OK.

>   * `except'.
>   */
>  bool

-- 
~Randy

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

* Re: [PATCH] mellanox/mlxsw: fix repeated words in comments
  2022-09-08 12:43 [PATCH] mellanox/mlxsw: fix repeated words in comments wangjianli
  2022-09-08 13:57 ` Randy Dunlap
@ 2022-09-16 10:50 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 6+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-09-16 10:50 UTC (permalink / raw)
  To: wangjianli
  Cc: idosch, petrm, davem, edumazet, kuba, pabeni, netdev, linux-kernel

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Thu,  8 Sep 2022 20:43:50 +0800 you wrote:
> Delete the redundant word 'in'.
> 
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
> ---
>  drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - mellanox/mlxsw: fix repeated words in comments
    https://git.kernel.org/netdev/net-next/c/a292c25607ea

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

* Re: [PATCH] mellanox/mlxsw: fix repeated words in comments
  2022-06-30  7:42 Jilin Yuan
  2022-06-30 10:45 ` Ido Schimmel
@ 2022-07-01 10:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 6+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-07-01 10:40 UTC (permalink / raw)
  To: Jilin Yuan
  Cc: davem, edumazet, kuba, pabeni, idosch, petrm, netdev, linux-kernel

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Thu, 30 Jun 2022 15:42:21 +0800 you wrote:
> Delete the redundant word 'action'.
> Delete the redundant word 'refer'.
> Delete the redundant word 'for'.
> 
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
> ---
>  drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c | 2 +-
>  drivers/net/ethernet/mellanox/mlxsw/core_env.c              | 2 +-
>  drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c        | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Here is the summary with links:
  - mellanox/mlxsw: fix repeated words in comments
    https://git.kernel.org/netdev/net-next/c/627838275a54

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

* Re: [PATCH] mellanox/mlxsw: fix repeated words in comments
  2022-06-30  7:42 Jilin Yuan
@ 2022-06-30 10:45 ` Ido Schimmel
  2022-07-01 10:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 6+ messages in thread
From: Ido Schimmel @ 2022-06-30 10:45 UTC (permalink / raw)
  To: Jilin Yuan; +Cc: davem, edumazet, kuba, pabeni, petrm, netdev, linux-kernel

On Thu, Jun 30, 2022 at 03:42:21PM +0800, Jilin Yuan wrote:
> Delete the redundant word 'action'.
> Delete the redundant word 'refer'.
> Delete the redundant word 'for'.
> 
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>

For net-next:

Reviewed-by: Ido Schimmel <idosch@nvidia.com>

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

* [PATCH] mellanox/mlxsw: fix repeated words in comments
@ 2022-06-30  7:42 Jilin Yuan
  2022-06-30 10:45 ` Ido Schimmel
  2022-07-01 10:40 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 6+ messages in thread
From: Jilin Yuan @ 2022-06-30  7:42 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni
  Cc: idosch, petrm, netdev, linux-kernel, Jilin Yuan

Delete the redundant word 'action'.
Delete the redundant word 'refer'.
Delete the redundant word 'for'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c | 2 +-
 drivers/net/ethernet/mellanox/mlxsw/core_env.c              | 2 +-
 drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c b/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c
index fa33caecc91d..636db9a87457 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c
@@ -1164,7 +1164,7 @@ EXPORT_SYMBOL(mlxsw_afa_block_append_vlan_modify);
  * trap control. In addition, the Trap / Discard action enables activating
  * SPAN (port mirroring).
  *
- * The Trap with userdef action action has the same functionality as
+ * The Trap with userdef action has the same functionality as
  * the Trap action with addition of user defined value that can be set
  * and used by higher layer applications.
  */
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_env.c b/drivers/net/ethernet/mellanox/mlxsw/core_env.c
index 34bec9cd572c..0107cbc32fc7 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/core_env.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/core_env.c
@@ -180,7 +180,7 @@ mlxsw_env_query_module_eeprom(struct mlxsw_core *mlxsw_core, u8 slot_index,
 		} else {
 			/* When reading upper pages 1, 2 and 3 the offset
 			 * starts at 0 and I2C high address is used. Please refer
-			 * refer to "Memory Organization" figure in SFF-8472
+			 * to "Memory Organization" figure in SFF-8472
 			 * specification for graphical depiction.
 			 */
 			i2c_addr = MLXSW_REG_MCIA_I2C_ADDR_HIGH;
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c
index 10ae1115de6c..24ff305a2995 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum2_kvdl.c
@@ -15,7 +15,7 @@ struct mlxsw_sp2_kvdl_part_info {
 	 * usage bits we need and how many indexes there are
 	 * represented by a single bit. This could be got from FW
 	 * querying appropriate resources. So have the resource
-	 * ids for for this purpose in partition definition.
+	 * ids for this purpose in partition definition.
 	 */
 	enum mlxsw_res_id usage_bit_count_res_id;
 	enum mlxsw_res_id index_range_res_id;
-- 
2.36.1


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

end of thread, other threads:[~2022-09-16 11:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08 12:43 [PATCH] mellanox/mlxsw: fix repeated words in comments wangjianli
2022-09-08 13:57 ` Randy Dunlap
2022-09-16 10:50 ` patchwork-bot+netdevbpf
  -- strict thread matches above, loose matches on Subject: below --
2022-06-30  7:42 Jilin Yuan
2022-06-30 10:45 ` Ido Schimmel
2022-07-01 10:40 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.