summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2013-01-29 23:33:14 +0000
committerBen Hutchings <bhutchings@solarflare.com>2013-03-07 20:22:07 +0000
commit9bc2fc9b5272cc888fb10d5839f7188fa0bfdc90 (patch)
tree0bff21fea91ac406166c7669587e5659d59e49df
parent272baeeb6a98f5f746c2eeab4973c2df89e9d7ea (diff)
sfc: Make RX queue descriptor counts unsigned for consistency
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
-rw-r--r--drivers/net/ethernet/sfc/net_driver.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/sfc/net_driver.h b/drivers/net/ethernet/sfc/net_driver.h
index fc6770e07d5a..3fd6dbe5e3dd 100644
--- a/drivers/net/ethernet/sfc/net_driver.h
+++ b/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;