[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200902155114.bscqz3a5mdp27toj@medion>
Date: Wed, 2 Sep 2020 16:51:14 +0100
From: Alex Dewar <alex.dewar90@...il.com>
To: "Martin K. Petersen" <martin.petersen@...cle.com>
Cc: Alex Dewar <alex.dewar90@...il.com>,
GR-QLogic-Storage-Upstream@...vell.com, jejb@...ux.ibm.com,
linux-kernel@...r.kernel.org, linux-scsi@...r.kernel.org,
njavali@...vell.com
Subject: Re: [PATCH v2] scsi: Don't call memset after dma_alloc_coherent()
On Tue, Sep 01, 2020 at 09:22:44PM -0400, Martin K. Petersen wrote:
>
> Alex,
>
> > dma_alloc_coherent() already zeroes memory, so the extra call to
> > memset() is unnecessary.
>
> One patch per driver, please.
There's a single patch for QLA2XXX already submitted: https://lore.kernel.org/lkml/20200820185149.932178-1-alex.dewar90@gmail.com/
I'll send separate patches for the other cases.
>
> Thanks!
>
> --
> Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists