Re: [PATCH v5 3/9] dma-mapping: add dma_{map,unmap}_resource

From: Christoph Hellwig
Date: Mon Apr 25 2016 - 15:10:20 EST


On Mon, Apr 25, 2016 at 04:26:19PM +0200, Niklas S?derlund wrote:
> I have followed the call path from the usage in
> drivers/dma/sh/rcar-dmac.c and made sure the dma_addr_t is not used in a
> bad way.

The dma-debug routines are called from the generic code in
include/linux/dma-mapping.h, and from my reading of the other patches
in your series you are calling it for these as well.