Fix typos in comments in Intel Ethernet drivers (igb, igc)
Subsystems (3)
v2 cover Fix typos in comments in Intel Ethernet drivers (igb, igc)
This is v2, adding a typo fix noticed by Joe Damato in e1000_defines.h ("Device Reset Aserted" -> "Device Reset Asserted").
Changes in v2:
- igb: also fix 'Aserted' -> 'Asserted' in e1000_defines.h (suggested by Joe Damato)
---
Maximilian Pezzullo (2):
igb: fix typos in comments
igc: fix typos in comments
drivers/net/ethernet/intel/igb/e1000_defines.h | 2 +- drivers/net/ethernet/intel/igb/e1000_mac.c | 2 +- drivers/net/ethernet/intel/igb/e1000_mbx.h | 2 +- drivers/net/ethernet/intel/igb/e1000_nvm.c | 2 +- drivers/net/ethernet/intel/igc/igc_diag.c | 2 +- drivers/net/ethernet/intel/igc/igc_main.c | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-)
---
base-commit: af4e9ef3d78420feb8fe58cd9a1ab80c501b3c08
change-id: 20260304-fix-typos-in-comments-in-intel-ethernet-drivers-igb-igc-3b497b0df47d
Best regards,
Signature · 1 line
Maximilian Pezzullo <[email protected]>
PATCH v2 1/2 igb: fix typos in comments
Fix spelling errors in code comments:
- e1000_nvm.c: 'likley' -> 'likely'
- e1000_mac.c: 'auto-negotitation' -> 'auto-negotiation'
- e1000_mbx.h: 'exra' -> 'extra'
- e1000_defines.h: 'Aserted' -> 'Asserted'
--- drivers/net/ethernet/intel/igb/e1000_defines.h | 2 +- drivers/net/ethernet/intel/igb/e1000_mac.c | 2 +- drivers/net/ethernet/intel/igb/e1000_mbx.h | 2 +- drivers/net/ethernet/intel/igb/e1000_nvm.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
drivers/net/ethernet/intel/igb/e1000_defines.h +1 -1
@@ -442,7 +442,7 @@/* Interrupt Cause Set */ #define E1000_ICS_LSC E1000_ICR_LSC/* Link Status Change */ #define E1000_ICS_RXDMT0 E1000_ICR_RXDMT0/* rx desc min. threshold */ -#define E1000_ICS_DRSTA E1000_ICR_DRSTA/* Device Reset Aserted */ +#define E1000_ICS_DRSTA E1000_ICR_DRSTA/* Device Reset Asserted */ /* Extended Interrupt Cause Set */ /* E1000_EITR_CNT_IGNR is only for 82576 and newer */
drivers/net/ethernet/intel/igb/e1000_mac.c +1 -1
@@ -1581,7 +1581,7 @@ s32 igb_disable_pcie_master(struct e1000_hw *hw)* igb_validate_mdi_setting - Verify MDI/MDIx settings * @hw: pointer to the HW structure * -* Verify that when not using auto-negotitation that MDI/MDIx is correctly +* Verify that when not using auto-negotiation that MDI/MDIx is correctly * set, which is forced to MDI mode only. **/ s32 igb_validate_mdi_setting (struct e1000_hw *hw)
drivers/net/ethernet/intel/igb/e1000_mbx.h +1 -1
@@ -30,7 +30,7 @@/* Indicates that VF is still clear to send requests */ #define E1000_VT_MSGTYPE_CTS 0x20000000#define E1000_VT_MSGINFO_SHIFT 16 -/* bits 23:16 are used for exra info for certain messages */ +/* bits 23:16 are used for extra info for certain messages */ #define E1000_VT_MSGINFO_MASK (0xFF << E1000_VT_MSGINFO_SHIFT)#define E1000_VF_RESET 0x01/* VF requests reset */
drivers/net/ethernet/intel/igb/e1000_nvm.c +1 -1
@@ -405,7 +405,7 @@ s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data)* Writes data to EEPROM at offset using SPI interface. * * If e1000_update_nvm_checksum is not called after this function , the -* EEPROM will most likley contain an invalid checksum. +* EEPROM will most likely contain an invalid checksum. **/ s32 igb_write_nvm_spi (struct e1000_hw *hw,u16 offset,u16 words,u16 *data) {
Signature · 1 line
Git-155)
RE: [Intel-wired-lan] [PATCH v2 1/2] igb: fix typos in comments
Quoted 97 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Maximilian Pezzullo via B4 Relay
Sent: Wednesday, March 4, 2026 8:21 AM
To: Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw <[email protected]>; Andrew Lunn <[email protected]>; David S. Miller <[email protected]>; Eric Dumazet <[email protected]>; Jakub Kicinski <[email protected]>; Paolo Abeni <[email protected]>
Cc: [email protected]; [email protected]; linux- [email protected]; Joe Damato <[email protected]>; Maximilian Pezzullo <[email protected]>
Subject: [Intel-wired-lan] [PATCH v2 1/2] igb: fix typos in commentsFrom: Maximilian Pezzullo <[email protected]>
Fix spelling errors in code comments:
-e1000_nvm.c: 'likley' -> 'likely'
-e1000_mac.c: 'auto-negotitation' -> 'auto-negotiation'
-e1000_mbx.h: 'exra' -> 'extra'
-e1000_defines.h: 'Aserted' -> 'Asserted'Signed-off-by Maximilian Pezzullo <[email protected]>--- drivers/net/ethernet/intel/igb/e1000_defines.h | 2 +- drivers/net/ethernet/intel/igb/e1000_mac.c | 2 +- drivers/net/ethernet/intel/igb/e1000_mbx.h | 2 +- drivers/net/ethernet/intel/igb/e1000_nvm.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)drivers/net/ethernet/intel/igb/e1000_defines.h +0
-0@@ -442,7 +442,7 @@/* Interrupt Cause Set */ #define E1000_ICS_LSC E1000_ICR_LSC/* Link Status Change */ #define E1000_ICS_RXDMT0 E1000_ICR_RXDMT0/* rx desc min. threshold */
-#defineE1000_ICS_DRSTAE1000_ICR_DRSTA/* Device Reset
Aserted */
+#defineE1000_ICS_DRSTAE1000_ICR_DRSTA/* Device Reset
Asserted *//* Extended Interrupt Cause Set */
/*E1000_EITR_CNT_IGNRis only for 82576 and newer */ diff --gita/drivers/net/ethernet/intel/igb/e1000_mac.cb/drivers/net/ethernet/intel/igb/e1000_mac.c
indexfa3dfafd2bb1..2bcce6eef0c7100644drivers/net/ethernet/intel/igb/e1000_mac.c +0
-1@@ -1581,7 +1581,7 @@ s32 igb_disable_pcie_master(struct e1000_hw *hw)* igb_validate_mdi_setting - Verify MDI/MDIx settings * @hw: pointer to the HW structure * -* Verify that when not using auto-negotitation that MDI/MDIx is correctly
+ * Verify that when not using auto-negotiation that MDI/MDIx is
+ correctly
* set, which is forced to MDI mode only.
**/
s32igb_validate_mdi_setting(struct e1000_hw *hw)diff --gita/drivers/net/ethernet/intel/igb/e1000_mbx.hb/drivers/net/ethernet/intel/igb/e1000_mbx.h
index178e60ec71d4..9e44527f5eea100644drivers/net/ethernet/intel/igb/e1000_mbx.h +1
-1@@ -30,7 +30,7 @@/* Indicates that VF is still clear to send requests */ #define E1000_VT_MSGTYPE_CTS 0x20000000#define E1000_VT_MSGINFO_SHIFT 16 -/* bits 23:16 are used for exra info for certain messages */ +/* bits 23:16 are used for extra info for certain messages */ #define E1000_VT_MSGINFO_MASK (0xFF << E1000_VT_MSGINFO_SHIFT)#define E1000_VF_RESET 0x01/* VF requests reset */ drivers/net/ethernet/intel/igb/e1000_nvm.c +0
-0@@ -405,7 +405,7 @@ s32 igb_read_nvm_eerd(struct e1000_hw *hw, u16 offset, u16 words, u16 *data) * Writes data to EEPROM at offset using SPI interface. * * If e1000_update_nvm_checksum is not called after this function ,the
- * EEPROM will most likley contain an invalid checksum.
+ * EEPROM will most likely contain an invalid checksum. **/
s32 igb_write_nvm_spi(structe1000_hw*hw, u16 offset, u16 words, u16
*data) {
Quoted 3 lines
--
Git-155)
Re: [PATCH v2 1/2] igb: fix typos in comments
In reply to Maximilian PezzulloQuoted 8 lines · On Wed, Mar 04, 2026 at 08:21:19AM +0100, Maximilian Pezzullo via B4 Relay…
From: Maximilian Pezzullo <[email protected]>
Fix spelling errors in code comments:
-e1000_nvm.c: 'likley' -> 'likely'
-e1000_mac.c: 'auto-negotitation' -> 'auto-negotiation'
-e1000_mbx.h: 'exra' -> 'extra'
-e1000_defines.h: 'Aserted' -> 'Asserted'
Quoted 7 lines
Signed-off-by Maximilian Pezzullo <[email protected]>--- drivers/net/ethernet/intel/igb/e1000_defines.h | 2 +- drivers/net/ethernet/intel/igb/e1000_mac.c | 2 +- drivers/net/ethernet/intel/igb/e1000_mbx.h | 2 +- drivers/net/ethernet/intel/igb/e1000_nvm.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
PATCH v2 2/2 igc: fix typos in comments
In reply to Maximilian PezzulloFix spelling errors in code comments:
- igc_diag.c: 'autonegotioation' -> 'autonegotiation'
- igc_main.c: 'revisons' -> 'revisions' (two occurrences)
--- drivers/net/ethernet/intel/igc/igc_diag.c | 2 +- drivers/net/ethernet/intel/igc/igc_main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/ethernet/intel/igc/igc_diag.c +1 -1
@@ -172,7 +172,7 @@ bool igc_link_test(struct igc_adapter *adapter, u64 *data) *data =0 ; -/* add delay to give enough time for autonegotioation to finish */ +/* add delay to give enough time for autonegotiation to finish */ ssleep (5 ); link_up =igc_has_link (adapter);
drivers/net/ethernet/intel/igc/igc_main.c +2 -2
@@ -1793,7 +1793,7 @@ static const enum pkt_hash_types igc_rss_type_table[IGC_RSS_TYPE_MAX_TABLE] = { [IGC_RSS_TYPE_HASH_UDP_IPV6_EX] = PKT_HASH_TYPE_L4, [10] = PKT_HASH_TYPE_NONE, /* RSS Type above 9 "Reserved" by HW */ [11] = PKT_HASH_TYPE_NONE, /* keep array sized for SW bit-mask */ - [12] = PKT_HASH_TYPE_NONE, /* to handle future HW revisons */ + [12] = PKT_HASH_TYPE_NONE, /* to handle future HW revisions */ [13] = PKT_HASH_TYPE_NONE, [14] = PKT_HASH_TYPE_NONE, [15] = PKT_HASH_TYPE_NONE,
@@ -7021,7 +7021,7 @@ static enum xdp_rss_hash_type igc_xdp_rss_type[IGC_RSS_TYPE_MAX_TABLE] = { [IGC_RSS_TYPE_HASH_UDP_IPV6_EX] = XDP_RSS_TYPE_L4_IPV6_UDP_EX, [10] = XDP_RSS_TYPE_NONE, /* RSS Type above 9 "Reserved" by HW */ [11] = XDP_RSS_TYPE_NONE, /* keep array sized for SW bit-mask */ - [12] = XDP_RSS_TYPE_NONE, /* to handle future HW revisons */ + [12] = XDP_RSS_TYPE_NONE, /* to handle future HW revisions */ [13] = XDP_RSS_TYPE_NONE, [14] = XDP_RSS_TYPE_NONE, [15] = XDP_RSS_TYPE_NONE,
Signature · 1 line
Git-155)
RE: [Intel-wired-lan] [PATCH v2 2/2] igc: fix typos in comments
Quoted 80 lines
-----Original Message-----
From: Intel-wired-lan <[email protected]> On Behalf Of Maximilian Pezzullo via B4 Relay
Sent: Wednesday, March 4, 2026 8:21 AM
To: Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw <[email protected]>; Andrew Lunn <[email protected]>; David S. Miller <[email protected]>; Eric Dumazet <[email protected]>; Jakub Kicinski <[email protected]>; Paolo Abeni <[email protected]>
Cc: [email protected]; [email protected]; linux- [email protected]; Joe Damato <[email protected]>; Maximilian Pezzullo <[email protected]>
Subject: [Intel-wired-lan] [PATCH v2 2/2] igc: fix typos in commentsFrom: Maximilian Pezzullo <[email protected]>
Fix spelling errors in code comments:
-igc_diag.c: 'autonegotioation' -> 'autonegotiation'
-igc_main.c: 'revisons' -> 'revisions' (two occurrences)Signed-off-by Maximilian Pezzullo <[email protected]>--- drivers/net/ethernet/intel/igc/igc_diag.c | 2 +- drivers/net/ethernet/intel/igc/igc_main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)drivers/net/ethernet/intel/igc/igc_diag.c +1
-1@@ -172,7 +172,7 @@ bool igc_link_test(struct igc_adapter *adapter,u64 *data) *data = 0; -/* add delay to give enough time for autonegotioation to finish */ +/* add delay to give enough time for autonegotiation to finish */ drivers/net/ethernet/intel/igc/igc_diag.c +0
-0ssleep (5 ); link_up =igc_has_link (adapter);drivers/net/ethernet/intel/igc/igc_main.c +0
-1@@ -1793,7 +1793,7 @@ static const enum pkt_hash_types igc_rss_type_table[IGC_RSS_TYPE_MAX_TABLE] = { [IGC_RSS_TYPE_HASH_UDP_IPV6_EX] = PKT_HASH_TYPE_L4, [10] = PKT_HASH_TYPE_NONE, /* RSS Type above 9 "Reserved" by HW*/ [11] = PKT_HASH_TYPE_NONE, /* keep array sized for SW bit-mask*/ - [12] = PKT_HASH_TYPE_NONE, /* to handle future HW revisons*/
drivers/net/ethernet/intel/igc/igc_main.c +1
-0+ [12] = PKT_HASH_TYPE_NONE, /* to handle future HW revisions*/
drivers/net/ethernet/intel/igc/igc_main.c +0
-1[13] = PKT_HASH_TYPE_NONE, [14] = PKT_HASH_TYPE_NONE, [15] = PKT_HASH_TYPE_NONE,@@ -7021,7 +7021,7 @@ static enum xdp_rss_hash_type igc_xdp_rss_type[IGC_RSS_TYPE_MAX_TABLE] = { [IGC_RSS_TYPE_HASH_UDP_IPV6_EX] = XDP_RSS_TYPE_L4_IPV6_UDP_EX, [10] = XDP_RSS_TYPE_NONE, /* RSS Type above 9 "Reserved" by HW*/ [11] = XDP_RSS_TYPE_NONE, /* keep array sized for SW bit-mask*/ - [12] = XDP_RSS_TYPE_NONE, /* to handle future HW revisons*/
drivers/net/ethernet/intel/igc/igc_main.c +1
-0+ [12] = XDP_RSS_TYPE_NONE, /* to handle future HW revisions*/
drivers/net/ethernet/intel/igc/igc_main.c +0
-1[13] = XDP_RSS_TYPE_NONE, [14] = XDP_RSS_TYPE_NONE, [15] = XDP_RSS_TYPE_NONE, --
Quoted 2 lines
Git-155)
Re: [PATCH v2 2/2] igc: fix typos in comments
In reply to Maximilian PezzulloQuoted 11 lines · On Wed, Mar 04, 2026 at 08:21:20AM +0100, Maximilian Pezzullo via B4 Relay…
From: Maximilian Pezzullo <[email protected]>
Fix spelling errors in code comments:
-igc_diag.c: 'autonegotioation' -> 'autonegotiation'
-igc_main.c: 'revisons' -> 'revisions' (two occurrences)Signed-off-by Maximilian Pezzullo <[email protected]>--- drivers/net/ethernet/intel/igc/igc_diag.c | 2 +- drivers/net/ethernet/intel/igc/igc_main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
Re: [Intel-wired-lan] [PATCH v2 2/2] igc: fix typos in comments
In reply to Maximilian PezzulloQuoted 6 lines · On 04/03/2026 9:21, Maximilian Pezzullo via B4 Relay wrote:
From: Maximilian Pezzullo <[email protected]>
Fix spelling errors in code comments:
-igc_diag.c: 'autonegotioation' -> 'autonegotiation'
-igc_main.c: 'revisons' -> 'revisions' (two occurrences)
Quoted 6 lines
Signed-off-by Maximilian Pezzullo <[email protected]>--- drivers/net/ethernet/intel/igc/igc_diag.c | 2 +- drivers/net/ethernet/intel/igc/igc_main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)