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

From: Alex Dewar
Date: Wed Sep 02 2020 - 12:03:44 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.

Nvm, someone's already beaten me to the punch!
>
> Thanks!
>
> --
> Martin K. Petersen Oracle Linux Engineering