]> 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)
commit0cb8787548ad33d43f5cc4997890259ac95e821b
treed52c7d3d7b7166109de0416b3f4f14136c9c5cf3
parentb6947069deb808f1264e4b0981605faa4f74848f
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