Re: [PATCH] sh: mm: Use dma_zalloc_coherent instead of dma_alloc_coherent + memset

From: Geert Uytterhoeven
Date: Mon Sep 10 2018 - 06:02:58 EST


On Mon, Sep 10, 2018 at 5:07 AM zhong jiang <zhongjiang@xxxxxxxxxx> wrote:
> dma_zalloc_coherent has taken the dma_alloc_coherent() and memset() into
> account. Therefore, just use dma_zalloc_coherent to replace the open code.
>
> Signed-off-by: zhong jiang <zhongjiang@xxxxxxxxxx>

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds