sfc: Make RX queue descriptor counts unsigned for consistency
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 29 Jan 2013 23:33:14 +0000 (23:33 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 7 Mar 2013 20:22:07 +0000 (20:22 +0000)
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/net_driver.h

index fc6770e..3fd6dbe 100644 (file)
@@ -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;