ia64: dma-mapping: support debug_dma_mapping_error
PATCH 1/1 ia64: dma-mapping: support debug_dma_mapping_error
Add support for debug_dma_mapping_error() call to avoid warning from debug_dma_unmap() interface when it checks for mapping error checked status. Without this patch, device driver failed to check map error warning is generated.
--- 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
PATCH RESEND 1/1 ia64: dma-mapping: support debug_dma_mapping_error
Add support for debug_dma_mapping_error() call to avoid warning from debug_dma_unmap() interface when it checks for mapping error checked status. Without this patch, device driver failed to check map error warning is generated.
--- 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
Quoted 15 lines · Shuah Khan
Add support for
debug_dma_mapping_error()call to avoid warning fromdebug_dma_unmap()interface when it checks for mapping error checked status. Without this patch, device driver failed to check map error warning is generated.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 +0
-0
arch/ia64/include/asm/dma-mapping.h static inline void dma_free_attrs(struct device *dev, size_t size, · line 64
Quoted 7 lines
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); }
Marek,
This one is for ia64 to go through your tree with all the other arch debug_dma_mapping_error() patches.
Thanks,
-- Shuah