[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAMuHMdWxmUpw7M=qBtcELX67eSy7C-o_j8bdmozchi3YsRFTxg@mail.gmail.com>
Date: Mon, 10 Sep 2018 12:02:43 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: zhongjiang@...wei.com
Cc: Rich Felker <dalias@...c.org>,
Yoshinori Sato <ysato@...rs.sourceforge.jp>,
Robin Murphy <robin.murphy@....com>,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Linux-sh list <linux-sh@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] sh: mm: Use dma_zalloc_coherent instead of
dma_alloc_coherent + memset
On Mon, Sep 10, 2018 at 5:07 AM zhong jiang <zhongjiang@...wei.com> 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@...wei.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@...der.be>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
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
Powered by blists - more mailing lists