Re: [PATCH 19/20] dpaa_eth: add dpaa_dma_to_virt()

From: Christoph Hellwig
Date: Wed Oct 09 2019 - 03:39:29 EST


On Tue, Oct 08, 2019 at 03:10:40PM +0300, Madalin Bucur wrote:
> Centralize the phys_to_virt() calls.

You don't need to centralize those, you need to fix them. Calling
phys_to_virt on a dma_addr is completely bogus.