[PATCH][next] cxgb4: clip_tbl: Fix spelling mistake "wont" -> "won't"

Colin Ian King posted 1 patch 2 months ago
drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH][next] cxgb4: clip_tbl: Fix spelling mistake "wont" -> "won't"
Posted by Colin Ian King 2 months ago
There are spelling mistakes in dev_err and dev_info messages. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c b/drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c
index 163efab27e9b..5060d3998889 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c
+++ b/drivers/net/ethernet/chelsio/cxgb4/clip_tbl.c
@@ -120,7 +120,7 @@ int cxgb4_clip_get(const struct net_device *dev, const u32 *lip, u8 v6)
 				write_unlock_bh(&ctbl->lock);
 				dev_err(adap->pdev_dev,
 					"CLIP FW cmd failed with error %d, "
-					"Connections using %pI6c wont be "
+					"Connections using %pI6c won't be "
 					"offloaded",
 					ret, ce->addr6.sin6_addr.s6_addr);
 				return ret;
@@ -133,7 +133,7 @@ int cxgb4_clip_get(const struct net_device *dev, const u32 *lip, u8 v6)
 	} else {
 		write_unlock_bh(&ctbl->lock);
 		dev_info(adap->pdev_dev, "CLIP table overflow, "
-			 "Connections using %pI6c wont be offloaded",
+			 "Connections using %pI6c won't be offloaded",
 			 (void *)lip);
 		return -ENOMEM;
 	}
-- 
2.39.2
Re: [PATCH][next] cxgb4: clip_tbl: Fix spelling mistake "wont" -> "won't"
Posted by Simon Horman 2 months ago
On Mon, Sep 23, 2024 at 01:26:00PM +0100, Colin Ian King wrote:
> There are spelling mistakes in dev_err and dev_info messages. Fix them.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Thanks Colin,

codespell also flags that 'actul' is misspelt in this file.
But it is in a non-kernel doc comment, and thus is not user-visible.
So, while that  would be nice to fix too, I think it it can be handled
separately (I add it to my todo list).

Reviewed-by: Simon Horman <horms@kernel.org>