Skip to contentSkip to conversation

mlx4: Fix spelling mistake: "mape" -> "map"

PATCH In review Colin Ian King 3 participants 5 messages Dec 9, 2023 – Feb 5, 2024

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mlx4: Fix spelling mistake: "mape" -> "map"

There is a spelling mistake in a mlx4_err error message. Fix it.

---
 drivers/net/ethernet/mellanox/mlx4/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/mellanox/mlx4/main.c +1 -1
index 2581226836b5..43cbe4e5d0c4 100644
@@ -1508,7 +1508,7 @@ static int mlx4_port_map_set(struct mlx4_dev *dev, struct mlx4_port_map *v2p)
 			priv->v2p.port1 = port1;
 			priv->v2p.port2 = port2;
 		} else {
-			mlx4_err(dev, "Failed to change port mape: %d\n", err);
+			mlx4_err(dev, "Failed to change port map: %d\n", err);
 		}
 	}
 
Signature · 1 line
2.39.2
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Colin Ian King

There is a spelling mistake in a mlx4_err error message. Fix it.

Hi Colin,

I am guessing that you are focusing on error messages and other user-facing spelling errors (perhaps you told me f2f in the hallway track at Kernel Recipes). But I do wonder if you have plans to address other spelling errors in this driver. codespell flags many, including 'segements' in a comment in the same file.

In any case,

maintainer
#2 lore raw
Quoted 5 lines · On Tue, 12 Dec 2023 20:30:43 +0000 Simon Horman wrote:
Quoted 3 lines · Colin Ian King

There is a spelling mistake in a mlx4_err error message. Fix it.

Quoted 7 lines

Hi Colin,

I am guessing that you are focusing on error messages and other user-facing spelling errors (perhaps you told me f2f in the hallway track at Kernel Recipes). But I do wonder if you have plans to address other spelling errors in this driver. codespell flags many, including 'segements' in a comment in the same file.

It'd be great to fix all the codespell issues with one path, IMO.

Signature · 1 line
pw-bot: cr
reviewer
#3 lore raw
Quoted 8 lines · Jakub Kicinski
Quoted 7 lines · On Tue, 12 Dec 2023 20:30:43 +0000 Simon Horman wrote:
Quoted 3 lines · Colin Ian King

There is a spelling mistake in a mlx4_err error message. Fix it.

Hi Colin,

Quoted 7 lines
Quoted 5 lines

I am guessing that you are focusing on error messages and other user-facing spelling errors (perhaps you told me f2f in the hallway track at Kernel Recipes). But I do wonder if you have plans to address other spelling errors in this driver. codespell flags many, including 'segements' in a comment in the same file.

It'd be great to fix all the codespell issues with one path, IMO.

For the record, I have sent a follow up here:

- [PATCH net-nex] mlx4: Address spelling errors
https://lore.kernel.org/netdev/[email protected]/

#4 lore raw
In reply to Simon Horman
Quoted 5 lines · Simon Horman
Quoted 3 lines · Colin Ian King

There is a spelling mistake in a mlx4_err error message. Fix it.

Quoted 7 lines

Hi Colin,

I am guessing that you are focusing on error messages and other user-facing spelling errors (perhaps you told me f2f in the hallway track at Kernel Recipes). But I do wonder if you have plans to address other spelling errors in this driver. codespell flags many, including 'segements' in a comment in the same file.

Yes, there are so many trivial spelling mistakes and typos across the kernel that I'm just focusing on user facing error messages for the moment.

Colin

Quoted 4 lines

In any case,