linux/drivers/dma
Julia Lawall 734c299282 drivers/dma: Correct NULL test
cohd_fin has already been verified not to be NULL, so the argument to
BUG_ON cannot be true.

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

// <smpl>
@r@
expression *x;
expression e;
identifier l;
@@

if (x == NULL || ...) {
    ... when forall
    return ...; }
... when != goto l;
    when != x = e
    when != &x
*x == NULL
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2010-02-10 12:07:28 -07:00
..
ioat ioat: fix infinite timeout checking in ioat2_quiesce 2010-02-02 22:57:34 -07:00
ipu async-tx: fix buffer submission error handling in ipu_idma.c 2010-02-10 12:01:06 -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 Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx 2009-12-30 13:46:29 -08: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 NULL test 2010-02-10 12:07:28 -07:00
dmaengine.c dmaengine: fix memleak in dma_async_device_unregister 2010-02-02 14:58:37 -07:00
dmatest.c dmaengine: correct onstack wait_queue_head declaration 2010-02-05 15:35:53 -07:00
dw_dmac_regs.h dw_dmac: implement a private tx_list 2009-09-08 17:53:02 -07:00
dw_dmac.c Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx 2009-12-30 13:46:29 -08: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 Merge branch 'ioat' into fixes 2009-12-22 17:21:47 -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 Merge branch 'ioat' into fixes 2009-12-22 17:21:47 -07:00
shdma.h sh: fix DMA driver's descriptor chaining and cookie assignment 2009-12-17 09:41:39 -07:00
txx9dmac.c const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
txx9dmac.h txx9dmac: implement a private tx_list 2009-09-08 17:53:03 -07:00