igb: Fix spelling in igb_main.c
Subsystems (4)
PATCH v2 1/1 igb: Fix spelling in igb_main.c
Simple patch that fix spelling mistakes in igb_main.c
---
Changes in v2:
- Fix spelling mor -> more
--- drivers/net/ethernet/intel/igb/igb_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/igb/igb_main.c +2 -2
@@ -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 )
@@ -3906,7 +3906,7 @@ static void igb_remove(struct pci_dev *pdev)* * This function initializes the vf specific data storage and then attempts to * allocate the VFs. The reason for ordering it this way is because it is much -* mor expensive time wise to disable SR-IOV than it is to allocate and free +* more expensive time wise to disable SR-IOV than it is to allocate and free * the memory for the VFs. **/ static void igb_probe_vfs (struct igb_adapter *adapter)
Signature · 1 line
2.43.0
Dear Johnny,
Thank you for your patch. I recommend to put the information, that the typos are only in comments, to the summary/title:
igb: Fix 2 typos in comments in igb_main.c
That way, skimming git log --oneline is more informative.
Am 23.10.24 um 05:21 schrieb Johnny Park:
Quoted 1 line
Simple patch that fix spelling mistakes in
igb_main.c
fix*es*, but better use imperative mood:
Fix 2 spelling mistakes in comments igb_main.c.
Quoted 22 lines
Signed-off-by Johnny Park <[email protected]>---
Changes in v2:
- Fix spelling mor -> more--- drivers/net/ethernet/intel/igb/igb_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/net/ethernet/intel/igb/igb_main.c +1
-1@@ -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 )
drivers/net/ethernet/intel/igb/igb_main.c static void igb_remove(struct pci_dev *pdev) · line 3912
Quoted 8 lines
drivers/net/ethernet/intel/igb/igb_main.c +1
-1@@ -3906,7 +3906,7 @@ static void igb_remove(struct pci_dev *pdev)* * This function initializes the vf specific data storage and then attempts to * allocate the VFs. The reason for ordering it this way is because it is much -* mor expensive time wise to disable SR-IOV than it is to allocate and free +* more expensive time wise to disable SR-IOV than it is to allocate and free * the memory for the VFs. **/ static void igb_probe_vfs (struct igb_adapter *adapter)
Rest looks good.
Kind regards,
Paul
Quoted 6 lines · Johnny Park
Simple patch that fix spelling mistakes in
igb_main.cSigned-off-by Johnny Park <[email protected]>---
Changes in v2:
- Fix spelling mor -> more
Thanks for the update.
I checked and this addresses all false-positives flagged by codespell in this file.
Quoted 8 lines · Paul Menzel
Dear Johnny,
Thank you for your patch. I recommend to put the information, that the typos are only in comments, to the summary/title:
igb: Fix 2 typos in comments in
igb_main.c
Quoted 9 lines
That way, skimming
git log --onelineis more informative.Am 23.10.24 um 05:21 schrieb Johnny Park:
Quoted 1 line
Simple patch that fix spelling mistakes in
igb_main.cfix*es*, but better use imperative mood:
Fix 2 spelling mistakes in comments
igb_main.c.
Hello Paul,
I appreciate your comments, I'll address those in the new patch shortly.
Thanks,
Johnny