Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5bbe2f4f authored by Ben Hutchings's avatar Ben Hutchings
Browse files

sfc: Make buffer table indices and counts consistently unsigned

parent a606f432
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
};

/**
+1 −1
Original line number Diff line number Diff line
@@ -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;