Re: [PATCH 5/8] at12: use pci_zalloc instead of pci_alloc

From: Christoph Hellwig
Date: Thu Feb 28 2019 - 09:00:49 EST


On Tue, Feb 26, 2019 at 10:09:52PM -0800, Robert Eshleman wrote:
> This patch replaces a pci_alloc and memset(,0) call
> with a single call to pci_zalloc.

Please don't move from one deprecated API to another one. If you feel
like cleaning up DMA API calls please move to dma_alloc_coherent,
and do that for the whole DMA API usage.