tmp_suning_uos_patched/drivers/dma
Dan Williams 56adf7e812 shdma: fix initialization error handling
1/ Error handling code following a kzalloc should free the allocated data.
2/ Report an error when no platform data is detected

Both problems fixed by moving the platform data check before the allocation,
and allows a goto to be killed.

Reported-by: Julia Lawall <julia@diku.dk>
Acked-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-11-22 12:10:10 -07:00
..
ioat
ipu
at_hdmac_regs.h
at_hdmac.c
dmaengine.c
dmatest.c
dw_dmac_regs.h
dw_dmac.c
fsldma.c
fsldma.h
iop-adma.c
iovlock.c
Kconfig
Makefile
mv_xor.c
mv_xor.h
shdma.c
shdma.h
txx9dmac.c
txx9dmac.h