igb: Fix 2 typos in comments in igb_main.c
Subsystems (4)
PATCH v3 1/1 igb: Fix 2 typos in comments in igb_main.c
Fix 2 spelling mistakes in comments in igb_main.c.
---
Changes in v3:
- Adjust commit message
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
Quoted 3 lines · Johnny Park
Fix 2 spelling mistakes in comments in
igb_main.c.Signed-off-by Johnny Park <[email protected]>
you should collect Reviewed-by tags, as the one from Simon on v2. for future Intel Ethernet drivers series, please target them to IWL (net-next in the Subject becomes iwl-next)
Quoted 15 lines
---
Changes in v3:
- Adjust commit messageChanges 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 +0
-0
drivers/net/ethernet/intel/igb/igb_main.c static int igb_alloc_q_vector(struct igb_adapter *adapter, · line 1209
Quoted 7 lines
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 */
Would be great to have capitalization errors fixed too, Rx, Tx, VF, not necessarily in this patch.
drivers/net/ethernet/intel/igb/igb_main.c static void igb_remove(struct pci_dev *pdev) · line 3912
Quoted 10 lines
drivers/net/ethernet/intel/igb/igb_main.c +1
-1if (!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)
to reduce traffic, I'm fine with this, to go via any tree:
Quoted 2 lines · Przemek Kitszel
On 10/24/24 07:45, Johnny Park wrote:
you should collect Reviewed-by tags, as the one from Simon on v2.
Sorry, I wasn't aware of that rule. For future pathces I'll include reviewed/acked tags.
Quoted 2 lines
for future Intel Ethernet drivers series, please target them to IWL (net-next in the Subject becomes iwl-next)
Sorry again, from the other patchworks https://patchwork.ozlabs.org/project/intel-wired-lan/list/ I should have noticed that pattern.
Quoted 8 lines
drivers/net/ethernet/intel/igb/igb_main.c static int igb_alloc_q_vector(struct igb_adapter *adapter, · line 1209
Quoted 5 lines
ring = q_vector->ring;drivers/net/ethernet/intel/igb/igb_main.c +1
-1-/* intialize ITR */ +/* initialize ITR */ if (rxr_count) {/* rx or rx/tx vector */ Would be great to have capitalization errors fixed too, Rx, Tx, VF, not necessarily in this patch.
That sounds like a good idea, perhaps fixing those will be my next patch.
Quoted 2 lines
to reduce traffic, I'm fine with this, to go via any tree:
Acked-by Przemek Kitszel <[email protected]>
Thank you for the review!
Regards,
Johnny