From mboxrd@z Thu Jan 1 00:00:00 1970 From: "yukuai (C)" Date: Thu, 26 Dec 2019 11:13:19 +0000 Subject: Re: [PATCH] scsi: don't memset to zero after dma_alloc_coherent Message-Id: <958ffbe5-f3da-da16-9f2b-05923d13485b@huawei.com> List-Id: References: <20191225132327.7121-1-yukuai3@huawei.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Sergei Shtylyov , ysato@users.sourceforge.jp, dalias@libc.org, aacraid@microsemi.com, jejb@linux.ibm.com, martin.petersen@oracle.com, sathya.prakash@broadcom.com, chaitra.basappa@broadcom.com, suganath-prabu.subramani@broadcom.com Cc: linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, MPT-FusionLinux.pdl@broadcom.com, zhengbin13@huawei.com, yi.zhang@huawei.com 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 >> --- >>   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