]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: dma-mapping: support debug_dma_mapping_error
authorMing Lei <ming.lei@canonical.com>
Mon, 22 Oct 2012 12:44:03 +0000 (20:44 +0800)
committerJoerg Roedel <joro@8bytes.org>
Mon, 3 Dec 2012 17:55:28 +0000 (18:55 +0100)
commita0157573041403e7507a6f3f32279fc14ff5c02e
tree7c16349b9247ed2bdd6dda7da90dd4daf4a659ca
parentfd78a95ac662a18e94509b7314c327475cbeafb4
ARM: dma-mapping: support debug_dma_mapping_error

Without the patch, kind of below warning will be dumped if DMA-API
debug is enabled:

[   11.069763] ------------[ cut here ]------------
[   11.074645] WARNING: at lib/dma-debug.c:948 check_unmap+0x770/0x860()
[   11.081420] ehci-omap ehci-omap.0: DMA-API: device driver failed to
check map error[device address=0x0000000
0adb78e80] [size=8 bytes] [mapped as single]
[   11.095611] Modules linked in:

Cc: Russell King <linux@arm.linux.org.uk>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
arch/arm/include/asm/dma-mapping.h