]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.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)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 23 Oct 2012 12:05:34 +0000 (14:05 +0200)
commit871ae57adc5ed092c1341f411514d0e8482e2611
treeab6152d0285197587c5d327b512c11606e073ec6
parenta1f102136538553a9488c713a336065ebb567542
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: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/include/asm/dma-mapping.h