[PATCH] [net-next] igb: Fix spelling "intialize"->"initialize"

Johnny Park posted 1 patch 1 month ago
drivers/net/ethernet/intel/igb/igb_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] [net-next] igb: Fix spelling "intialize"->"initialize"
Posted by Johnny Park 1 month ago
Simple patch that fixes the spelling mistake "intialize" in igb_main.c

Signed-off-by: Johnny Park <pjohnny0508@gmail.com>
---
 drivers/net/ethernet/intel/igb/igb_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c
index 1ef4cb871452..ad091179872b 100644
--- a/drivers/net/ethernet/intel/igb/igb_main.c
+++ b/drivers/net/ethernet/intel/igb/igb_main.c
@@ -1204,7 +1204,7 @@ static int igb_alloc_q_vector(struct igb_adapter *adapter,
 	/* initialize pointer to rings */
 	ring = q_vector->ring;
 
-	/* intialize ITR */
+	/* initialize ITR */
 	if (rxr_count) {
 		/* rx or rx/tx vector */
 		if (!adapter->rx_itr_setting || adapter->rx_itr_setting > 3)
-- 
2.43.0
Re: [PATCH] [net-next] igb: Fix spelling "intialize"->"initialize"
Posted by Simon Horman 1 month ago
On Mon, Oct 21, 2024 at 11:11:56PM -0600, Johnny Park wrote:
> Simple patch that fixes the spelling mistake "intialize" in igb_main.c
> 
> Signed-off-by: Johnny Park <pjohnny0508@gmail.com>

Thanks Johnny,

I agree this is correct. But I am wondering if you could also fix the
following around 3909. It seems to be the only other non false-positive
flagged by codespell in this file.

mor -> more

-- 
pw-bot: changes-requested
Re: [PATCH] [net-next] igb: Fix spelling "intialize"->"initialize"
Posted by Johnny Park 1 month ago
On Tue, Oct 22, 2024 at 05:09:33PM +0100, Simon Horman wrote:
> On Mon, Oct 21, 2024 at 11:11:56PM -0600, Johnny Park wrote:
> > Simple patch that fixes the spelling mistake "intialize" in igb_main.c
> > 
> > Signed-off-by: Johnny Park <pjohnny0508@gmail.com>
> 
> Thanks Johnny,
> 
> I agree this is correct. But I am wondering if you could also fix the
> following around 3909. It seems to be the only other non false-positive
> flagged by codespell in this file.
> 
> mor -> more
> 
> -- 
> pw-bot: changes-requested
Sounds good, I'll make a new patch shortly.