igb/ixgbe: Fix typo in igb_build_skb and/or ixgbe_build_skb code comment
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 15 Feb 2017 17:15:59 +0000 (09:15 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 17 Mar 2017 19:55:55 +0000 (12:55 -0700)
There was a typo that I had left in the code comments for the igb and ixgbe
functions that enabled build_skb support.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c

index 79f39a785dca761d4d769020925179b1a3f9d8ff..26a821fcd22012884843fbe3d81357cc4bcff985 100644 (file)
@@ -7041,7 +7041,7 @@ static struct sk_buff *igb_build_skb(struct igb_ring *rx_ring,
        prefetch(va + L1_CACHE_BYTES);
 #endif
 
-       /* build an skb to around the page buffer */
+       /* build an skb around the page buffer */
        skb = build_skb(va - IGB_SKB_PAD, truesize);
        if (unlikely(!skb))
                return NULL;
index d45477db0227ef73c7060d3812792abab8fdfd2a..852a2e7e25ed185917732df098174820c56e1295 100644 (file)
@@ -2122,7 +2122,7 @@ static struct sk_buff *ixgbe_build_skb(struct ixgbe_ring *rx_ring,
        prefetch(va + L1_CACHE_BYTES);
 #endif
 
-       /* build an skb to around the page buffer */
+       /* build an skb around the page buffer */
        skb = build_skb(va - IXGBE_SKB_PAD, truesize);
        if (unlikely(!skb))
                return NULL;