sfc: Make buffer table indices and counts consistently unsigned
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
This commit is contained in:
parent
a606f4325d
commit
5bbe2f4f64
@ -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
|
|||||||
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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user