diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-02-14 00:14:23 +0100 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-02-16 01:25:08 +0100 |
commit | 5bbe2f4f64cc7f6da6390035dcfc42b14bd80484 (patch) | |
tree | af3ee827337184d756b41768bf48545438d8eb9f /drivers/net/ethernet/sfc/nic.c | |
parent | sfc: Disable flow control during flushes (diff) | |
download | linux-5bbe2f4f64cc7f6da6390035dcfc42b14bd80484.tar.xz linux-5bbe2f4f64cc7f6da6390035dcfc42b14bd80484.zip |
sfc: Make buffer table indices and counts consistently unsigned
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/nic.c')
-rw-r--r-- | drivers/net/ethernet/sfc/nic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/nic.c b/drivers/net/ethernet/sfc/nic.c index 1bb41fff3edc..2bdfb6374ce8 100644 --- a/drivers/net/ethernet/sfc/nic.c +++ b/drivers/net/ethernet/sfc/nic.c @@ -192,7 +192,7 @@ static void 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; |