alistair23-linux/drivers/dma
Julia Lawall 983d7beb7d drivers/dma/amba-pl08x.c: fix error return code
Convert a 0 error return code to a negative one, as returned elsewhere in the
function.

A simplified version of the semantic match that finds this problem is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
identifier ret;
expression e,e1,e2,e3,e4,x;
@@

(
if (\(ret != 0\|ret < 0\) || ...) { ... return ...; }
|
ret = 0
)
... when != ret = e1
*x = \(kmalloc\|kzalloc\|kcalloc\|devm_kzalloc\|ioremap\|ioremap_nocache\|devm_ioremap\|devm_ioremap_nocache\)(...);
... when != x = e2
    when != ret = e3
*if (x == NULL || ...)
{
  ... when != ret = e4
*  return ret;
}
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
2012-08-22 09:51:04 +05:30
..
ioat
ipu dma: ipu: remove the use of ipu_platform_data 2012-07-01 21:57:43 +08:00
ppc4xx
sh dmaengine: shdma: restore partial transfer calculation 2012-08-01 13:48:52 +09:00
amba-pl08x.c drivers/dma/amba-pl08x.c: fix error return code 2012-08-22 09:51:04 +05:30
at_hdmac.c dmaengine: at_hdmac: add a few const qualifiers 2012-07-16 12:05:45 +05:30
at_hdmac_regs.h dmaengine: at_hdmac: take maxburst from slave configuration 2012-05-15 08:47:18 +05:30
coh901318.c dma: coh901318: use devm allocation 2012-06-14 08:42:26 +05:30
coh901318_lli.c
coh901318_lli.h
dmaengine.c dmaengine: Cleanup logging messages 2012-07-20 11:44:19 +05:30
dmaengine.h
dmatest.c
dw_dmac.c Merge branch 'for-3.7' into next 2012-08-05 13:04:33 +05:30
dw_dmac_regs.h dw_dmac: use devm_* functions to simplify code 2012-07-26 11:40:07 +05:30
ep93xx_dma.c arm-soc: driver specific updates 2012-05-26 12:22:27 -07:00
fsldma.c
fsldma.h
imx-dma.c dma: imx-dma: Fix kernel crash due to missing clock conversion 2012-07-27 08:49:53 +05:30
imx-sdma.c dma: imx-sdma: buf_tail should be initialize in prepare function 2012-06-07 13:48:42 +05:30
intel_mid_dma.c
intel_mid_dma_regs.h
iop-adma.c
iovlock.c
Kconfig Merge branch 'dmaengine' of git://git.linaro.org/people/rmk/linux-arm 2012-08-01 16:41:07 -07:00
Makefile Merge branch 'dmaengine' of git://git.linaro.org/people/rmk/linux-arm 2012-08-01 16:41:07 -07:00
mmp_tdma.c dmaengine: mmp_tdma: add mmp tdma support 2012-06-20 16:28:41 +05:30
mpc512x_dma.c
mv_xor.c
mv_xor.h
mxs-dma.c dma: mxs-dma: Export missing symbols from mxs-dma.c 2012-07-16 11:59:22 +05:30
omap-dma.c dmaengine: omap: add support for cyclic DMA 2012-07-31 12:06:22 +01:00
pch_dma.c
pl330.c DMA: PL330: Fix racy mutex unlock 2012-06-14 08:39:52 +05:30
sa11x0-dma.c dmaengine: sa11x0-dma: add cyclic DMA support 2012-07-01 14:16:26 +01:00
sirf-dma.c drivers/dma/sirf-dma.c: fix usage of devm functions 2012-08-22 09:17:34 +05:30
ste_dma40.c
ste_dma40_ll.c
ste_dma40_ll.h
tegra20-apb-dma.c dma: tegra: enable/disable dma clock 2012-07-31 16:15:05 +05:30
timb_dma.c
TODO
txx9dmac.c
txx9dmac.h
virt-dma.c dmaengine: virt-dma: add support for cyclic DMA periodic callbacks 2012-07-01 14:15:23 +01:00
virt-dma.h dmaengine: virt-dma: add support for cyclic DMA periodic callbacks 2012-07-01 14:15:23 +01:00