Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
@@ -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;
};
/**
@@ -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 i;