OSDN Git Service

infiniband/hw/cxgb3/cxio_hal.c: Use dma_zalloc_coherent
authorSabyasachi Gupta <sabyasachi.linux@gmail.com>
Fri, 9 Nov 2018 16:50:29 +0000 (22:20 +0530)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 21 Nov 2018 22:52:35 +0000 (15:52 -0700)
commitfb670347559bc5e370c008e2673cd67a3e80b189
treebd1875c93f71b2ba2c42d5b3b5b72ee05ac3ad4f
parent87429024757cf85db1fba618c0801c772539151d
infiniband/hw/cxgb3/cxio_hal.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/cxgb3/cxio_hal.c