[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190715.110651.1919532320008372502.davem@davemloft.net>
Date: Mon, 15 Jul 2019 11:06:51 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: huangfq.daxian@...il.com
Cc: jes@...ined-monkey.org, linux-hippi@...site.dk,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3 18/24] hippi: Remove call to memset after
pci_alloc_consistent
From: Fuqian Huang <huangfq.daxian@...il.com>
Date: Mon, 15 Jul 2019 11:19:21 +0800
> pci_alloc_consistent calls dma_alloc_coherent directly.
> In commit 518a2f1925c3
> ("dma-mapping: zero memory returned from dma_alloc_*"),
> dma_alloc_coherent has already zeroed the memory.
> So memset is not needed.
>
> Signed-off-by: Fuqian Huang <huangfq.daxian@...il.com>
Applied.
Powered by blists - more mailing lists