mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 08:35:08 +08:00
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;
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user