[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bbec6a4a-2c57-2254-2970-95acb098c7f3@huawei.com>
Date: Thu, 26 Dec 2019 19:33:05 +0800
From: "yukuai (C)" <yukuai3@...wei.com>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
<ysato@...rs.sourceforge.jp>, <dalias@...c.org>,
<aacraid@...rosemi.com>, <jejb@...ux.ibm.com>,
<martin.petersen@...cle.com>, <sathya.prakash@...adcom.com>,
<chaitra.basappa@...adcom.com>,
<suganath-prabu.subramani@...adcom.com>
CC: <linux-sh@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-scsi@...r.kernel.org>, <MPT-FusionLinux.pdl@...adcom.com>,
<zhengbin13@...wei.com>, <yi.zhang@...wei.com>
Subject: Re: [PATCH] scsi: don't memset to zero after dma_alloc_coherent
On 2019/12/26 19:16, Sergei Shtylyov wrote:
> On 26.12.2019 14:13, yukuai (C) wrote:
>
>>>> dma_alloc_coherent already zeros out memory, so memset to zero is not
>>>> needed.
>>>>
>>>> Signed-off-by: yu kuai <yukuai3@...wei.com>
>>>> ---
>>>> 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.
>
> I'd recommend to split such patch to (at least) different
> subsystems, e.g. arch/sh/ part, drivers/scsi/ part.
I'll do that, thank you again for your advise!
Yu Kuai
Powered by blists - more mailing lists