sfc: Make buffer table indices and counts consistently unsigned
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
This commit is contained in:
Родитель
a606f4325d
Коммит
5bbe2f4f64
|
@ -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 index;
|
||||
unsigned int index;
|
||||
dma_addr_t dma_addr;
|
||||
int i;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче