Re: [PATCH v3 07/24] rdma/cxgb3: Remove call to memset after dma_alloc_coherent

From: Jason Gunthorpe
Date: Mon Jul 15 2019 - 14:11:07 EST


On Mon, Jul 15, 2019 at 11:17:46AM +0800, Fuqian Huang wrote:
> 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@xxxxxxxxx>
> ---
> Changes in v3:
> - Use actual commit rather than the merge commit in the commit message
>
> drivers/infiniband/hw/cxgb3/cxio_hal.c | 3 ---
> 1 file changed, 3 deletions(-)

Why are you resending this? I already applied the v2 version for
RDMA's tree.

Jason