Re: [PATCH v2] scsi: Don't call memset after dma_alloc_coherent()

From: Alex Dewar
Date: Wed Sep 02 2020 - 11:51:23 EST


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@xxxxxxxxx/

I'll send separate patches for the other cases.

>
> Thanks!
>
> --
> Martin K. Petersen Oracle Linux Engineering