Skip to content

Commit

Permalink
gve: Update gve_free_queue_page_list signature
Browse files Browse the repository at this point in the history
The id field should be a u32 not a signed int.

Signed-off-by: Catherine Sullivan <csully@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
catSully012 authored and davem330 committed Dec 16, 2021
1 parent d30baac commit 13e7939
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/ethernet/google/gve/gve_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -831,8 +831,7 @@ void gve_free_page(struct device *dev, struct page *page, dma_addr_t dma,
put_page(page);
}

static void gve_free_queue_page_list(struct gve_priv *priv,
int id)
static void gve_free_queue_page_list(struct gve_priv *priv, u32 id)
{
struct gve_queue_page_list *qpl = &priv->qpls[id];
int i;
Expand Down

0 comments on commit 13e7939

Please sign in to comment.