[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0cfe35c7-89c4-b65a-ba25-dfcf5d59a564@huawei.com>
Date: Fri, 7 Dec 2018 10:07:13 +0000
From: John Garry <john.garry@...wei.com>
To: Johannes Thumshirn <jthumshirn@...e.de>, <jejb@...ux.vnet.ibm.com>,
<martin.petersen@...cle.com>
CC: <linuxarm@...wei.com>, <linux-kernel@...r.kernel.org>,
<linux-scsi@...r.kernel.org>,
Xiang Chen <chenxiang66@...ilicon.com>
Subject: Re: [PATCH v4 2/5] scsi: hisi_sas: Relocate some code to reduce
complexity
On 06/12/2018 16:20, Johannes Thumshirn wrote:
> On 06/12/2018 16:37, John Garry wrote:
>> which is important. Let me know if you disagree and I can change it.
>
> Sure, it's your driver. It was just because the patch is even titled
> "Relocate some code to reduce complexity", so I thought of reducing the
> complexity for readers even further (like you don't need the line wrap
> at 80 chars, and so on).
>
> Byte,
> Johannes
>
I would rather not change if you don't mind. When we say "reduce
complexity", we are talking about moving the DMA mapping code from the
task prep function, as, when we add the DIX-related DMA mapping code,
leaving all the DMA mapping code in the task prep function would make it
a monster.
Thanks,
John
Powered by blists - more mailing lists