[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAOPXMbmPbJxk1K7wwfVQNA1q5s8Kr1TB2Qk1oPSUsE6EsAWM_A@mail.gmail.com>
Date: Thu, 31 Oct 2019 14:58:27 -0700
From: Yangchun Fu <yangchun@...gle.com>
To: David Miller <davem@...emloft.net>
Cc: netdev@...r.kernel.org, Simon Horman <simon.horman@...ronome.com>,
Catherine Sullivan <csully@...gle.com>
Subject: Re: [PATCH net v2] gve: Fixes DMA synchronization.
On Thu, Oct 31, 2019 at 2:16 PM David Miller <davem@...emloft.net> wrote:
>
> From: Yangchun Fu <yangchun@...gle.com>
> Date: Wed, 30 Oct 2019 15:00:32 -0700
>
> > -static int gve_tx_add_skb(struct gve_tx_ring *tx, struct sk_buff *skb)
> > +static void gve_dma_sync_for_device(struct device *dev, dma_addr_t *page_buses,
> > + u64 iov_offset, u64 iov_len)
> > +{
> > + u64 addr;
> > + dma_addr_t dma;
>
> Please place local variables in reverse christmas tree ordering (longest to
> shortest line) here.
>
> Thank you.
Sure I will send the v3 patch with this.
Powered by blists - more mailing lists