drivers/net/ethernet/intel: fix typos in comments
authorJulia Lawall <Julia.Lawall@inria.fr>
Sat, 21 May 2022 11:11:00 +0000 (13:11 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 9 Jun 2022 17:05:31 +0000 (10:05 -0700)
Spelling mistakes (triple letters) in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_mbx.c
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c

index 30ca9ee1900ba240c1f2bcf6a9e2b6ceb66c3561..f2fba6e1d0f750aaa7001f5384c5cc153e3236db 100644 (file)
@@ -1825,7 +1825,7 @@ static void fm10k_sm_mbx_process_error(struct fm10k_mbx_info *mbx)
                fm10k_sm_mbx_connect_reset(mbx);
                break;
        case FM10K_STATE_CONNECT:
-               /* try connnecting at lower version */
+               /* try connecting at lower version */
                if (mbx->remote) {
                        while (mbx->local > 1)
                                mbx->local--;
index 454e01ae09b970638c93243a9a1d8c9a5cec2696..70961c0343e7ba0af531e0172bbc56e955b97e5f 100644 (file)
@@ -2403,7 +2403,7 @@ static void ice_set_agg_vsi(struct ice_vsi *vsi)
                                agg_id);
                        return;
                }
-               /* aggregator node is created, store the neeeded info */
+               /* aggregator node is created, store the needed info */
                agg_node->valid = true;
                agg_node->agg_id = agg_id;
        }
index 7f11c0a8e7a91de4d1893bdbc15c027f80d70c44..07b982e473b205d976009a3baa2ed74328d243e5 100644 (file)
@@ -77,7 +77,7 @@ static int __ixgbe_enable_sriov(struct ixgbe_adapter *adapter,
        IXGBE_WRITE_REG(hw, IXGBE_PFDTXGSWC, IXGBE_PFDTXGSWC_VT_LBEN);
        adapter->bridge_mode = BRIDGE_MODE_VEB;
 
-       /* limit trafffic classes based on VFs enabled */
+       /* limit traffic classes based on VFs enabled */
        if ((adapter->hw.mac.type == ixgbe_mac_82599EB) && (num_vfs < 16)) {
                adapter->dcb_cfg.num_tcs.pg_tcs = MAX_TRAFFIC_CLASS;
                adapter->dcb_cfg.num_tcs.pfc_tcs = MAX_TRAFFIC_CLASS;