Skip to contentSkip to conversation

bnx2x: annotate pointers in struct bnx2x_fastpath

PATCH In review Harvey Harrison 1 participant 1 message Jan 21, 2009

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

PATCH 6/9 bnx2x: annotate pointers in struct bnx2x_fastpath

---
 drivers/net/bnx2x.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/net/bnx2x.h +3 -3
index 7bda49d..5ac71ac 100644
@@ -234,7 +234,7 @@ struct bnx2x_fastpath {
 	u16			tx_pkt_cons;
 	u16			tx_bd_prod;
 	u16			tx_bd_cons;
-	u16			*tx_cons_sb;
+	__le16			*tx_cons_sb;
 
 	u16			fp_c_idx;
 	u16			fp_u_idx;
@@ -246,8 +246,8 @@ struct bnx2x_fastpath {
 	u16			rx_sge_prod;
 	/* The last maximal completed SGE */
 	u16			last_max_sge;
-	u16			*rx_cons_sb;
-	u16			*rx_bd_cons_sb;
+	__le16			*rx_cons_sb;
+	__le16			*rx_bd_cons_sb;
 
 	unsigned long		tx_pkt,
 				rx_pkt,
Signature · 1 line
1.6.1.249.g455e5