]> git.baikalelectronics.ru Git - kernel.git/commit
qed: use dma_zalloc_coherent instead of allocator/memset
authorYueHaibing <yuehaibing@huawei.com>
Mon, 4 Jun 2018 13:10:31 +0000 (21:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jun 2018 21:28:43 +0000 (17:28 -0400)
commitb9e1cc29628b81bb6b5a5ec078adaba3e2deeadd
treed52c7d3d7b7166109de0416b3f4f14136c9c5cf3
parenta6734234850510080377ba4754213c3118402236
qed: use dma_zalloc_coherent instead of allocator/memset

Use dma_zalloc_coherent instead of dma_alloc_coherent
followed by memset 0.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Tomer Tayar <Tomer.Tayar@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_cxt.c