Browse Source

sfc: Make RX queue descriptor counts unsigned for consistency

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Ben Hutchings 12 years ago
parent
commit
9bc2fc9b52
1 changed files with 3 additions and 3 deletions
  1. 3 3
      drivers/net/ethernet/sfc/net_driver.h

+ 3 - 3
drivers/net/ethernet/sfc/net_driver.h

@@ -272,9 +272,9 @@ struct efx_rx_queue {
 	bool enabled;
 	bool flush_pending;
 
-	int added_count;
-	int notified_count;
-	int removed_count;
+	unsigned int added_count;
+	unsigned int notified_count;
+	unsigned int removed_count;
 	unsigned int max_fill;
 	unsigned int fast_fill_trigger;
 	unsigned int min_fill;