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

Alex Dewar
2020-09-02T15:51:23Z

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