sfc: Make buffer table indices and counts consistently unsigned

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
This commit is contained in:
Ben Hutchings 2012-02-13 23:14:23 +00:00
parent a606f4325d
commit 5bbe2f4f64
2 changed files with 3 additions and 3 deletions

View File

@ -81,8 +81,8 @@ struct efx_special_buffer {
void *addr;
dma_addr_t dma_addr;
unsigned int len;
int index;
int entries;
unsigned int index;
unsigned int entries;
};
/**

View File

@ -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;