From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Date: Mon, 10 Sep 2018 10:02:43 +0000 Subject: Re: [PATCH] sh: mm: Use dma_zalloc_coherent instead of dma_alloc_coherent + memset Message-Id: List-Id: References: <1536548104-57453-1-git-send-email-zhongjiang@huawei.com> In-Reply-To: <1536548104-57453-1-git-send-email-zhongjiang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: zhongjiang@huawei.com Cc: Rich Felker , Yoshinori Sato , Robin Murphy , Thomas Petazzoni , Geert Uytterhoeven , Linux-sh list , Linux Kernel Mailing List On Mon, Sep 10, 2018 at 5:07 AM zhong jiang 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 Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-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