1
0
Fork 0
alistair23-linux/drivers/staging/mt7621-dma
Sergio Paracuellos 354e379684 staging: mt7621-dma: fix potentially dereferencing uninitialized 'tx_desc'
Function 'mtk_hsdma_start_transfer' uses 'tx_desc' pointer which can be
dereferenced before it is initializated. Initializate pointer before
avoiding the problem.

Fixes: 0853c7a53e ("staging: mt7621-dma: ralink: add rt2880 dma engine")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-07 13:08:28 +01:00
..
Kconfig
Makefile
TODO
mtk-hsdma.c staging: mt7621-dma: fix potentially dereferencing uninitialized 'tx_desc' 2018-11-07 13:08:28 +01:00
ralink-gdma.c staging: mt7621-dma: Delete unused define 2018-10-10 13:15:23 +02:00