diff options
author | Catherine Sullivan <csully@google.com> | 2021-12-16 03:46:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-16 13:41:53 +0300 |
commit | 13e7939c954a280847107c9f081835471f4ea1fe (patch) | |
tree | 5e56f628637293188344c30327539f906b094680 /drivers/net/ethernet/google | |
parent | d30baacc04948bbfded609cf7fb298e5ae754fcd (diff) | |
download | linux-13e7939c954a280847107c9f081835471f4ea1fe.tar.xz |
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/ethernet/google')
-rw-r--r-- | drivers/net/ethernet/google/gve/gve_main.c | 3 |
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; |