Skip to contentSkip to conversation

igb/ixgbe: Fix typo in igb_build_skb and/or ixgbe_build_skb code comment

PATCH New Alexander Duyck 2 participants 2 messages Feb 15, 2017 – Mar 15, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 igb/ixgbe: Fix typo in igb_build_skb and/or ixgbe_build_skb code comment

From: Alexander Duyck <[email protected]>

There was a typo that I had left in the code comments for the igb and ixgbe functions that enabled build_skb support. This patch is meant to clean that up since it didn't seem like something worth respinning both series for. If I end up having to respin the series I will pull this change into the patch and at that time we can drop this one.

---
 drivers/net/ethernet/intel/igb/igb_main.c     |    2 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/igb/igb_main.c +1 -1
index 2796e9a2361e..c62513f348e8 100644
@@ -7043,7 +7043,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;
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +1 -1
index bfcdc2fdeae4..25059fed3c72 100644
@@ -2139,7 +2139,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;
#1 lore raw

PATCH 1/1 igb/ixgbe: Fix typo in igb_build_skb and/or ixgbe_build_skb code comment

Quoted 16 lines

From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Alexander Duyck
Sent: Wednesday, February 15, 2017 9:16 AM
To: intel-wired-lan at lists.osuosl.org; Kirsher, Jeffrey T <[email protected]>
Subject: [Intel-wired-lan] [next PATCH] igb/ixgbe: Fix typo in igb_build_skb and/or ixgbe_build_skb code comment

From: Alexander Duyck <[email protected]>

There was a typo that I had left in the code comments for the igb and ixgbe functions that enabled build_skb support. This patch is meant to clean that up since it didn't seem like something worth respinning both series for. If I end up having to respin the series I will pull this change into the patch and at that time we can drop this one.

Quoted 6 lines
---
 drivers/net/ethernet/intel/igb/igb_main.c     |    2 +-
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)