Re: [PATCH v2 net-next] net: mediatek: use dma_zalloc_coherent instead of allocator/memset

From: David Miller
Date: Sun Jul 22 2018 - 23:52:25 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Mon, 23 Jul 2018 11:16:47 +0800

> Use dma_zalloc_coherent instead of dma_alloc_coherent
> followed by memset 0.
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> ---
> v2: remove redundant __GFP_ZERO

Applied, thank you.