infiniband/hw/cxgb4/qp.c: Use dma_zalloc_coherent
authorSabyasachi Gupta <sabyasachi.linux@gmail.com>
Mon, 12 Nov 2018 15:21:59 +0000 (20:51 +0530)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 21 Nov 2018 22:52:36 +0000 (15:52 -0700)
commit2b91fdfd13f5d3c3a5800731b4c46b0b5d69feaf
tree48d80059425793bd5ac3a83a092fbe7b35031556
parentfb670347559bc5e370c008e2673cd67a3e80b189
infiniband/hw/cxgb4/qp.c: Use dma_zalloc_coherent

Replaced dma_alloc_coherent + memset with dma_zalloc_coherent

Signed-off-by: Sabyasachi Gupta <sabyasachi.linux@gmail.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/cxgb4/qp.c