summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/sfc/net_driver.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2013-01-30 03:33:14 +0400
committerBen Hutchings <bhutchings@solarflare.com>2013-03-08 00:22:07 +0400
commit9bc2fc9b5272cc888fb10d5839f7188fa0bfdc90 (patch)
tree0bff21fea91ac406166c7669587e5659d59e49df /drivers/net/ethernet/sfc/net_driver.h
parent272baeeb6a98f5f746c2eeab4973c2df89e9d7ea (diff)
downloadlinux-9bc2fc9b5272cc888fb10d5839f7188fa0bfdc90.tar.xz
sfc: Make RX queue descriptor counts unsigned for consistency
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/net_driver.h')
-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;