eth: Fix typo 'accelaration'. 'exprienced' and 'rewritting'
authorWangYuli <wangyuli@uniontech.com>
Fri, 18 Oct 2024 02:19:10 +0000 (10:19 +0800)
committerAndrew Lunn <andrew@lunn.ch>
Sun, 20 Oct 2024 16:06:48 +0000 (11:06 -0500)
There are some spelling mistakes of 'accelaration', 'exprienced' and
'rewritting' in comments which should be 'acceleration', 'experienced'
and 'rewriting'.

Suggested-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/all/20241017162846.GA51712@kernel.org/
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Message-ID: <90D42CB167CA0842+20241018021910.31359-1-wangyuli@uniontech.com>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/tg3.c
drivers/net/ethernet/neterion/s2io.c

index f5da2dace982ba841a310f4d6982c367227d0811..bda3742d4e324c53805204b9dc31ec4e0e28c491 100644 (file)
@@ -12881,7 +12881,7 @@ static netdev_features_t bnxt_fix_features(struct net_device *dev,
        if (features & NETIF_F_GRO_HW)
                features &= ~NETIF_F_LRO;
 
-       /* Both CTAG and STAG VLAN accelaration on the RX side have to be
+       /* Both CTAG and STAG VLAN acceleration on the RX side have to be
         * turned on or off together.
         */
        vlan_features = features & BNXT_HW_FEATURE_VLAN_ALL_RX;
@@ -16131,7 +16131,7 @@ static pci_ers_result_t bnxt_io_error_detected(struct pci_dev *pdev,
  * @pdev: Pointer to PCI device
  *
  * Restart the card from scratch, as if from a cold-boot.
- * At this point, the card has exprienced a hard reset,
+ * At this point, the card has experienced a hard reset,
  * followed by fixups by BIOS, and has its config space
  * set up identically to what it was at cold boot.
  */
@@ -16159,7 +16159,7 @@ static pci_ers_result_t bnxt_io_slot_reset(struct pci_dev *pdev)
                pci_set_master(pdev);
                /* Upon fatal error, our device internal logic that latches to
                 * BAR value is getting reset and will restore only upon
-                * rewritting the BARs.
+                * rewriting the BARs.
                 *
                 * As pci_restore_state() does not re-write the BARs if the
                 * value is same as saved value earlier, driver needs to
index c20958607dd866b4a719b6d7940b5d5de35c5946..01dfec1159428d7d165e826ba6e4d0f689536a59 100644 (file)
@@ -18275,7 +18275,7 @@ done:
  * @pdev: Pointer to PCI device
  *
  * Restart the card from scratch, as if from a cold-boot.
- * At this point, the card has exprienced a hard reset,
+ * At this point, the card has experienced a hard reset,
  * followed by fixups by BIOS, and has its config space
  * set up identically to what it was at cold boot.
  */
index f235e76e4ce9a0ca7946ea5218775fdc7dbdeb01..f8016dc25e0abc401304a0b02ca408abc5ad82c0 100644 (file)
@@ -8523,7 +8523,7 @@ static pci_ers_result_t s2io_io_error_detected(struct pci_dev *pdev,
  * @pdev: Pointer to PCI device
  *
  * Restart the card from scratch, as if from a cold-boot.
- * At this point, the card has exprienced a hard reset,
+ * At this point, the card has experienced a hard reset,
  * followed by fixups by BIOS, and has its config space
  * set up identically to what it was at cold boot.
  */