ia64: dma_debug: add debug_dma_mapping_error support
PATCH 3/9 ia64: dma_debug: add debug_dma_mapping_error support
Add dma-debug interface debug_dma_mapping_error() to debug drivers that fail to check dma mapping errors on addresses returned by dma_map_single() and dma_map_page() interfaces.
Signed-off-by Shuah Khan <[email protected]>
--- arch/ia64/include/asm/dma-mapping.h | 1 + 1 file changed, 1 insertion(+)
arch/ia64/include/asm/dma-mapping.h +1 -0
@@ -58,6 +58,7 @@ static inline void dma_free_attrs(struct device *dev, size_t size,static inline int dma_mapping_error (struct device *dev,dma_addr_t daddr) {struct dma_map_ops *ops =platform_dma_get_ops (dev); +debug_dma_mapping_error (dev, daddr);return ops->mapping_error (dev, daddr); }
Signature · 1 line
1.7.9.5