Re: [PATCH] infiniband/hw/cxgb4/qp.c: Use dma_zalloc_coherent

2018-11-21 Thread Jason Gunthorpe
On Mon, Nov 12, 2018 at 08:51:59PM +0530, Sabyasachi Gupta wrote: > Replaced dma_alloc_coherent + memset with dma_zalloc_coherent > > Signed-off-by: Sabyasachi Gupta > Acked-by: Steve Wise > --- > drivers/infiniband/hw/cxgb4/qp.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Applie

Re: [PATCH] infiniband/hw/cxgb4/qp.c: Use dma_zalloc_coherent

2018-11-12 Thread Steve Wise
On 11/12/2018 9:21 AM, Sabyasachi Gupta wrote: > Replaced dma_alloc_coherent + memset with dma_zalloc_coherent > > Signed-off-by: Sabyasachi Gupta > --- > drivers/infiniband/hw/cxgb4/qp.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/infiniband/hw/cxgb4/q

[PATCH] infiniband/hw/cxgb4/qp.c: Use dma_zalloc_coherent

2018-11-12 Thread Sabyasachi Gupta
Replaced dma_alloc_coherent + memset with dma_zalloc_coherent Signed-off-by: Sabyasachi Gupta --- drivers/infiniband/hw/cxgb4/qp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c index 13478f3..5a8030b 1006