Commit 5bbe2f4f authored by Ben Hutchings's avatar Ben Hutchings

sfc: Make buffer table indices and counts consistently unsigned

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
parent a606f432
...@@ -81,8 +81,8 @@ struct efx_special_buffer { ...@@ -81,8 +81,8 @@ struct efx_special_buffer {
void *addr; void *addr;
dma_addr_t dma_addr; dma_addr_t dma_addr;
unsigned int len; unsigned int len;
int index; unsigned int index;
int entries; unsigned int entries;
}; };
/** /**
......
...@@ -192,7 +192,7 @@ static void ...@@ -192,7 +192,7 @@ static void
efx_init_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer) efx_init_special_buffer(struct efx_nic *efx, struct efx_special_buffer *buffer)
{ {
efx_qword_t buf_desc; efx_qword_t buf_desc;
int index; unsigned int index;
dma_addr_t dma_addr; dma_addr_t dma_addr;
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment