[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200818.131818.1808468591889996886.davem@davemloft.net>
Date: Tue, 18 Aug 2020 13:18:18 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: awogbemila@...gle.com
Cc: netdev@...r.kernel.org, csully@...gle.com, yangchun@...gle.com
Subject: Re: [PATCH net-next 10/18] gve: Add support for raw addressing to
the rx path
From: David Awogbemila <awogbemila@...gle.com>
Date: Tue, 18 Aug 2020 12:44:09 -0700
> static void gve_rx_free_ring(struct gve_priv *priv, int idx)
> {
> struct gve_rx_ring *rx = &priv->rx[idx];
> struct device *dev = &priv->pdev->dev;
> size_t bytes;
> - u32 slots;
> + u32 slots = rx->mask + 1;
Reverse christmas tree ordering for local variables please.
Powered by blists - more mailing lists