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(-)

diff --git a/drivers/net/ethernet/intel/igc/igc_diag.c 
b/drivers/net/ethernet/intel/igc/igc_diag.c
index a43d7244e..031561fdc 100644
--- a/drivers/net/ethernet/intel/igc/igc_diag.c
+++ b/drivers/net/ethernet/intel/igc/igc_diag.c
@@ -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);
diff --git a/drivers/net/ethernet/intel/igc/igc_main.c 
b/drivers/net/ethernet/intel/igc/igc_main.c
index 27e5c2109..de3f3d95d 100644
--- a/drivers/net/ethernet/intel/igc/igc_main.c
+++ b/drivers/net/ethernet/intel/igc/igc_main.c
@@ -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,

-- 
Git-155)


Reply via email to