kernel_optimize_test/drivers/dma
Andy Shevchenko afde3be121 dmatest: check for dma mapping error
The kernel emits a warning if CONFIG_DMA_API_DEBUG=y:

  WARNING: at lib/dma-debug.c:933 check_unmap+0x5d6/0x6ac()
  dw_dmac dw_dmac.0: DMA-API: device driver failed to check map error[device address=0x0000000035698305] [size=14365 bytes] [mapped as single]

Fix this by adding the required checking of the dma_map_single() return
value.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-12-17 17:15:13 -08:00
..
ioat
ipu
ppc4xx
sh
amba-pl08x.c
at_hdmac_regs.h
at_hdmac.c
coh901318_lli.c
coh901318_lli.h
coh901318.c
dmaengine.c
dmaengine.h
dmatest.c dmatest: check for dma mapping error 2012-12-17 17:15:13 -08:00
dw_dmac_regs.h
dw_dmac.c
edma.c
ep93xx_dma.c
fsldma.c
fsldma.h
imx-dma.c
imx-sdma.c
intel_mid_dma_regs.h
intel_mid_dma.c
iop-adma.c
iovlock.c
Kconfig
Makefile
mmp_pdma.c
mmp_tdma.c
mpc512x_dma.c
mv_xor.c ARM: arm-soc: Updates for Marvell mvebu/kirkwood 2012-12-14 14:54:26 -08:00
mv_xor.h
mxs-dma.c
omap-dma.c
pch_dma.c
pl330.c
sa11x0-dma.c
sirf-dma.c
ste_dma40_ll.c
ste_dma40_ll.h
ste_dma40.c
tegra20-apb-dma.c
timb_dma.c
TODO
txx9dmac.c
txx9dmac.h
virt-dma.c
virt-dma.h