Re: [PATCH] scsi: don't memset to zero after dma_alloc_coherent

From: yukuai (C)
Date: Thu Dec 26 2019 - 06:13:36 EST




On 2019/12/26 19:03, Sergei Shtylyov wrote:
Hello!

On 25.12.2019 16:23, yu kuai wrote:

dma_alloc_coherent already zeros out memory, so memset to zero is not
needed.

Signed-off-by: yu kuai <yukuai3@xxxxxxxxxx>
---
 arch/sh/mm/consistent.c | 2 --

ÂÂ How this one is related to SCSI?

Thank you for your response!
I put them in the same patch because I thougt they are the same situation. I'm sorry if it's not appropriate.

Yu Kuai