diff mbox series

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

Message ID Zxc0HP27kcMwGyaa@Fantasy-Ubuntu
State Superseded
Headers show
Series [net-next] igb: Fix spelling "intialize"->"initialize" | expand

Commit Message

Johnny Park Oct. 22, 2024, 5:11 a.m. UTC
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(-)

Comments

Simon Horman Oct. 22, 2024, 4:09 p.m. UTC | #1
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
Johnny Park Oct. 23, 2024, 3:05 a.m. UTC | #2
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.
diff mbox series

Patch

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)