net: fix typos and repeated words in comments
Subsystems (4)
cover net: fix typos and repeated words in comments
This corrects 2 misspellings and repeated words in comments. Each is a separate patch so that any one of them can be dropped without touching the rest.
Nothing outside comments changes. Every touched C file was checked by dropping its comments, replacing each string literal with a placeholder and collapsing whitespace; what remained was identical before and after, so the compiled code cannot differ.
The mistakes were found with scripts/checkpatch.pl against the list in scripts/spelling.txt. The scanning, the edits and the changelogs were produced with Cursor running the claude-opus-5 model, from a request to find and fix spelling mistakes across the tree, and every correction was then re-checked by the comparison described above. Words that name an identifier were left alone deliberately, even when they read as typos, because correcting the prose would make the comment disagree with the code it describes.
Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which is clean. Nothing else was built, so any patch touching code that x86_64 defconfig does not compile has been read but not compiled.
Hemanth Selam (2):
net: intel: fix typos in comments Documentation/networking: fix repeated words in comments
Documentation/networking/device_drivers/ethernet/intel/i40e.rst | 2 +- Documentation/networking/device_drivers/ethernet/intel/iavf.rst | 2 +- drivers/net/ethernet/intel/i40e/i40e_common.c | 2 +- drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 2 +- drivers/net/ethernet/intel/ice/ice.h | 2 +- drivers/net/ethernet/intel/ice/ice_main.c | 2 +- drivers/net/ethernet/intel/ice/ice_sriov.c | 2 +- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)
Signature · 1 line
2.48.1
PATCH 1/2 net: intel: fix typos in comments
Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
--- drivers/net/ethernet/intel/i40e/i40e_common.c | 2 +- drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 2 +- drivers/net/ethernet/intel/ice/ice.h | 2 +- drivers/net/ethernet/intel/ice/ice_main.c | 2 +- drivers/net/ethernet/intel/ice/ice_sriov.c | 2 +- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
drivers/net/ethernet/intel/i40e/i40e_common.c +1 -1
@@ -676,7 +676,7 @@ int i40e_pf_reset(struct i40e_hw *hw) grst_del =FIELD_GET (I40E_GLGEN_RSTCTL_GRSTDEL_MASK ,rd32 (hw,I40E_GLGEN_RSTCTL )); -/* It can take upto 15 secs for GRST steady state. +/* It can take up to 15 secs for GRST steady state. * Bump it to 16 secs max to be safe. */ grst_del = grst_del *20 ;
drivers/net/ethernet/intel/i40e/i40e_ethtool.c +1 -1
@@ -2614,7 +2614,7 @@ static u64 i40e_eeprom_test(struct net_device *netdev, u64 *data)netif_info (pf, hw, netdev,"eeprom test\n" ); *data =i40e_diag_eeprom_test (&pf->hw); -/* forcebly clear the NVM Update state machine */ +/* forcibly clear the NVM Update state machine */ pf->hw.nvmupd_state =I40E_NVMUPD_STATE_INIT ;return *data;
drivers/net/ethernet/intel/ice/ice.h +1 -1
@@ -1105,7 +1105,7 @@ extern const struct xdp_metadata_ops ice_xdp_md_ops;* ice_is_dual - Check if given config is multi-NAC * @hw: pointer to HW structure * -* Return: true if the device is running in mutli-NAC (Network +* Return: true if the device is running in multi-NAC (Network * Acceleration Complex) configuration variant, false otherwise * (always false for non-E825 devices). */
drivers/net/ethernet/intel/ice/ice_main.c +1 -1
@@ -6202,7 +6202,7 @@ ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[],* * Features that need fixing: * Cannot simultaneously enable CTAG and STAG stripping and/or insertion. -* These are mutually exlusive as the VSI context cannot support multiple +* These are mutually exclusive as the VSI context cannot support multiple * VLAN ethertypes simultaneously for stripping and/or insertion. If this * is not done, then default to clearing the requested STAG offload * settings.
drivers/net/ethernet/intel/ice/ice_sriov.c +1 -1
@@ -924,7 +924,7 @@ static void ice_sriov_remap_vectors(struct ice_pf *pf, u16 restricted_id)* is correct etc. Then disable old mapping (MSI-X and queues registers), change * MSI-X and queues, rebuild VSI and enable new mapping. * -* If it is possible (driver not binded to VF) try to remap also other VFs to +* If it is possible (driver not bound to VF) try to remap also other VFs to * linearize irqs register usage. */ int ice_sriov_set_msix_vec_count (struct pci_dev *vf_dev,int msix_vec_count)
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c +1 -1
@@ -3995,7 +3995,7 @@ static void ixgbevf_tx_olinfo_status(union ixgbe_adv_tx_desc *tx_desc,if (tx_flags &IXGBE_TX_FLAGS_CSUM ) olinfo_status |=cpu_to_le32 (IXGBE_ADVTXD_POPTS_TXSM ); -/* enble IPv4 checksum for TSO */ +/* enable IPv4 checksum for TSO */ if (tx_flags &IXGBE_TX_FLAGS_IPV4 ) olinfo_status |=cpu_to_le32 (IXGBE_ADVTXD_POPTS_IXSM );
Signature · 1 line
2.48.1
Re: [PATCH 1/2] net: intel: fix typos in comments
Quoted 6 lines · Hemanth Selam
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Thanks.
Quoted 87 lines
--- drivers/net/ethernet/intel/i40e/i40e_common.c | 2 +- drivers/net/ethernet/intel/i40e/i40e_ethtool.c | 2 +- drivers/net/ethernet/intel/ice/ice.h | 2 +- drivers/net/ethernet/intel/ice/ice_main.c | 2 +- drivers/net/ethernet/intel/ice/ice_sriov.c | 2 +- drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)drivers/net/ethernet/intel/i40e/i40e_common.c +1
-1@@ -676,7 +676,7 @@ int i40e_pf_reset(struct i40e_hw *hw) grst_del =FIELD_GET (I40E_GLGEN_RSTCTL_GRSTDEL_MASK ,rd32 (hw,I40E_GLGEN_RSTCTL )); -/* It can take upto 15 secs for GRST steady state. +/* It can take up to 15 secs for GRST steady state. * Bump it to 16 secs max to be safe. */ grst_del = grst_del *20 ;drivers/net/ethernet/intel/i40e/i40e_ethtool.c +1
-1@@ -2614,7 +2614,7 @@ static u64 i40e_eeprom_test(struct net_device *netdev, u64 *data)netif_info (pf, hw, netdev,"eeprom test\n" ); *data =i40e_diag_eeprom_test (&pf->hw); -/* forcebly clear the NVM Update state machine */ +/* forcibly clear the NVM Update state machine */ pf->hw.nvmupd_state =I40E_NVMUPD_STATE_INIT ;return *data;drivers/net/ethernet/intel/ice/ice.h +1
-1@@ -1105,7 +1105,7 @@ extern const struct xdp_metadata_ops ice_xdp_md_ops;* ice_is_dual - Check if given config is multi-NAC * @hw: pointer to HW structure * -* Return: true if the device is running in mutli-NAC (Network +* Return: true if the device is running in multi-NAC (Network * Acceleration Complex) configuration variant, false otherwise * (always false for non-E825 devices). */ drivers/net/ethernet/intel/ice/ice_main.c +1
-1@@ -6202,7 +6202,7 @@ ice_fdb_del(struct ndmsg *ndm, __always_unused struct nlattr *tb[],* * Features that need fixing: * Cannot simultaneously enable CTAG and STAG stripping and/or insertion. -* These are mutually exlusive as the VSI context cannot support multiple +* These are mutually exclusive as the VSI context cannot support multiple * VLAN ethertypes simultaneously for stripping and/or insertion. If this * is not done, then default to clearing the requested STAG offload * settings. drivers/net/ethernet/intel/ice/ice_sriov.c +1
-1@@ -924,7 +924,7 @@ static void ice_sriov_remap_vectors(struct ice_pf *pf, u16 restricted_id)* is correct etc. Then disable old mapping (MSI-X and queues registers), change * MSI-X and queues, rebuild VSI and enable new mapping. * -* If it is possible (driver not binded to VF) try to remap also other VFs to +* If it is possible (driver not bound to VF) try to remap also other VFs to * linearize irqs register usage. */ int ice_sriov_set_msix_vec_count (struct pci_dev *vf_dev,int msix_vec_count)drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c +1
-1@@ -3995,7 +3995,7 @@ static void ixgbevf_tx_olinfo_status(union ixgbe_adv_tx_desc *tx_desc,if (tx_flags &IXGBE_TX_FLAGS_CSUM ) olinfo_status |=cpu_to_le32 (IXGBE_ADVTXD_POPTS_TXSM ); -/* enble IPv4 checksum for TSO */ +/* enable IPv4 checksum for TSO */ if (tx_flags &IXGBE_TX_FLAGS_IPV4 ) olinfo_status |=cpu_to_le32 (IXGBE_ADVTXD_POPTS_IXSM );
Signature · 1 line
~Randy
PATCH 2/2 Documentation/networking: fix repeated words in comments
In reply to Hemanth SelamDrop words accidentally written twice, reported by checkpatch.pl as a possible repeated word. Only touches comments, no code changes.
--- Documentation/networking/device_drivers/ethernet/intel/i40e.rst | 2 +- Documentation/networking/device_drivers/ethernet/intel/iavf.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/networking/device_drivers/ethernet/intel/i40e.rst +1 -1
@@ -692,7 +692,7 @@ queues: for each tc, <num queues>@<offset> (e.g. queues 16@0 16@16 assigns 16 queues to tc0 at offset 0 and 16 queues to tc1 at offset 16. Max total number of queues for all tcs is 64 or number of cores, whichever is lower.) -hw 1 mode channel: ‘channel’ with ‘hw’ set to 1 is a new new hardware +hw 1 mode channel: ‘channel’ with ‘hw’ set to 1 is a new hardware offload mode in mqprio that makes full use of the mqprio options, the TCs, the queue configurations, and the QoS parameters.
Documentation/networking/device_drivers/ethernet/intel/iavf.rst +1 -1
@@ -171,7 +171,7 @@ queues: for each tc, <num queues>@<offset> (e.g. queues 16@0 16@16 assigns 16 queues to tc0 at offset 0 and 16 queues to tc1 at offset 16. Max total number of queues for all tcs is 64 or number of cores, whichever is lower.) -hw 1 mode channel: ‘channel’ with ‘hw’ set to 1 is a new new hardware +hw 1 mode channel: ‘channel’ with ‘hw’ set to 1 is a new hardware offload mode in mqprio that makes full use of the mqprio options, the TCs, the queue configurations, and the QoS parameters.
Signature · 1 line
2.48.1
Re: [PATCH 2/2] Documentation/networking: fix repeated words in comments
Quoted 5 lines · Hemanth Selam
Drop words accidentally written twice, reported by checkpatch.pl as a possible repeated word. Only touches comments, no code changes.
Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Thanks.
Quoted 31 lines
--- Documentation/networking/device_drivers/ethernet/intel/i40e.rst | 2 +- Documentation/networking/device_drivers/ethernet/intel/iavf.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)Documentation/networking/device_drivers/ethernet/intel/i40e.rst +1
-1@@ -692,7 +692,7 @@ queues: for each tc, <num queues>@<offset> (e.g. queues 16@0 16@16 assigns 16 queues to tc0 at offset 0 and 16 queues to tc1 at offset 16. Max total number of queues for all tcs is 64 or number of cores, whichever is lower.) -hw 1 mode channel: ‘channel’ with ‘hw’ set to 1 is a new new hardware +hw 1 mode channel: ‘channel’ with ‘hw’ set to 1 is a new hardware offload mode in mqprio that makes full use of the mqprio options, the TCs, the queue configurations, and the QoS parameters.Documentation/networking/device_drivers/ethernet/intel/iavf.rst +1
-1@@ -171,7 +171,7 @@ queues: for each tc, <num queues>@<offset> (e.g. queues 16@0 16@16 assigns 16 queues to tc0 at offset 0 and 16 queues to tc1 at offset 16. Max total number of queues for all tcs is 64 or number of cores, whichever is lower.) -hw 1 mode channel: ‘channel’ with ‘hw’ set to 1 is a new new hardware +hw 1 mode channel: ‘channel’ with ‘hw’ set to 1 is a new hardware offload mode in mqprio that makes full use of the mqprio options, the TCs, the queue configurations, and the QoS parameters.
Signature · 1 line
~Randy