tmp_suning_uos_patched/drivers/dma
Julia Lawall 0794ec8ce3 drivers/dma: Correct use after free
Move the kfree after the iounmap that refers to the same structure.

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

// <smpl>
@@
expression x,e;
identifier f;
iterator I;
statement S;
@@

*kfree(x);
... when != &x
    when != x = e
    when != I(x,...) S
*x->f
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-12-22 15:30:08 -07:00
..
ioat ioat3: fix uninitialized var warnings 2009-09-21 09:22:29 -07:00
ipu dma: fix ipu_idmac.c to not discard the last queued buffer 2009-05-12 14:41:48 -07:00
ppc4xx ppc440spe-adma: adds updated ppc440spe adma driver 2009-12-11 21:24:44 -07:00
at_hdmac_regs.h at_hdmac: implement a private tx_list 2009-09-08 17:53:03 -07:00
at_hdmac.c dma: at_hdmac: correct incompatible type for argument 1 of 'spin_lock_bh' 2009-12-16 11:21:48 -07:00
coh901318_lli.c Add COH 901 318 DMA block driver v5 2009-11-19 23:45:19 -07:00
coh901318_lli.h Add COH 901 318 DMA block driver v5 2009-11-19 23:45:19 -07:00
coh901318.c drivers/dma: Correct use after free 2009-12-22 15:30:08 -07:00
dmaengine.c Merge branch 'dmaengine' into async-tx-next 2009-09-08 17:55:21 -07:00
dmatest.c dmaengine: fix dmatest to verify minimum transfer length and test buffer size 2009-12-10 23:27:51 -07:00
dw_dmac_regs.h dw_dmac: implement a private tx_list 2009-09-08 17:53:02 -07:00
dw_dmac.c drivers/dma: drop unnecesary memset 2009-12-22 15:29:05 -07:00
fsldma.c fsldma: Add DMA_SLAVE support 2009-09-08 17:53:04 -07:00
fsldma.h fsldma: split apart external pause and request count features 2009-09-08 17:53:04 -07:00
iop-adma.c iop-adma.c: use resource_size() 2009-12-11 21:24:33 -07:00
iovlock.c net_dma: poll for a descriptor after allocation failure 2009-09-08 17:38:54 -07:00
Kconfig ppc440spe-adma: adds updated ppc440spe adma driver 2009-12-11 21:24:44 -07:00
Makefile ppc440spe-adma: adds updated ppc440spe adma driver 2009-12-11 21:24:44 -07:00
mv_xor.c mv_xor: implement a private tx_list 2009-09-08 17:53:03 -07:00
mv_xor.h mv_xor: implement a private tx_list 2009-09-08 17:53:03 -07:00
shdma.c sh: fix DMA driver's descriptor chaining and cookie assignment 2009-12-17 09:41:39 -07:00
shdma.h sh: fix DMA driver's descriptor chaining and cookie assignment 2009-12-17 09:41:39 -07:00
txx9dmac.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx into for-linus 2009-09-23 18:31:11 +10:00
txx9dmac.h txx9dmac: implement a private tx_list 2009-09-08 17:53:03 -07:00