summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorCatherine Sullivan <csully@google.com>2021-12-15 16:46:47 -0800
committerDavid S. Miller <davem@davemloft.net>2021-12-16 10:41:53 +0000
commit13e7939c954a280847107c9f081835471f4ea1fe (patch)
tree5e56f628637293188344c30327539f906b094680 /drivers/net
parentd30baacc04948bbfded609cf7fb298e5ae754fcd (diff)
downloadlwn-13e7939c954a280847107c9f081835471f4ea1fe.tar.gz
lwn-13e7939c954a280847107c9f081835471f4ea1fe.zip
gve: Update gve_free_queue_page_list signature
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/google/gve/gve_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/google/gve/gve_main.c b/drivers/net/ethernet/google/gve/gve_main.c
index 348b4cfc4a12..086424518ecc 100644
--- a/drivers/net/ethernet/google/gve/gve_main.c
+++ b/drivers/net/ethernet/google/gve/gve_main.c
@@ -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;