提交 5bbe2f4f 编写于 作者: B Ben Hutchings

sfc: Make buffer table indices and counts consistently unsigned

Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
上级 a606f432
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册