commit | 5bbe2f4f64cc7f6da6390035dcfc42b14bd80484 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Mon Feb 13 23:14:23 2012 +0000 |
committer | Ben Hutchings <bhutchings@solarflare.com> | Thu Feb 16 00:25:08 2012 +0000 |
tree | af3ee827337184d756b41768bf48545438d8eb9f | |
parent | a606f4325dca6950996abbae452d33f2af095f39 [diff] [blame] |
sfc: Make buffer table indices and counts consistently unsigned Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
diff --git a/drivers/net/ethernet/sfc/nic.c b/drivers/net/ethernet/sfc/nic.c index 1bb41ff..2bdfb63 100644 --- a/drivers/net/ethernet/sfc/nic.c +++ b/drivers/net/ethernet/sfc/nic.c
@@ -192,7 +192,7 @@ efx_init_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) { efx_qword_t buf_desc; - int index; + unsigned int index; dma_addr_t dma_addr; int i;