2022-09-08 13:25:31

by wangjianli

[permalink] [raw]
Subject: [PATCH] mellanox/mlxsw: fix repeated words in comments

Delete the redundant word 'in'.

Signed-off-by: wangjianli <[email protected]>
---
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


2022-09-08 14:13:53

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH] mellanox/mlxsw: fix repeated words in comments



On 9/8/22 05:43, wangjianli wrote:
> Delete the redundant word 'in'.
>
> Signed-off-by: wangjianli <[email protected]>
> ---
> 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

2022-09-16 11:21:47

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH] mellanox/mlxsw: fix repeated words in comments

Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <[email protected]>:

On Thu, 8 Sep 2022 20:43:50 +0800 you wrote:
> Delete the redundant word 'in'.
>
> Signed-off-by: wangjianli <[email protected]>
> ---
> 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