diff options
| author | Sergio Paracuellos <[email protected]> | 2018-10-20 13:31:06 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-11-07 13:08:28 +0100 |
| commit | 354e379684fcc70ab8d5450b4d57bd92b5294dfd (patch) | |
| tree | 290f57de41dbf34bdb711b5b80c62c38edc8ce7f /include/linux/fpga/fpga-bridge.h | |
| parent | 4dc2a3cd27856531cf92762fea2eb9468efe552f (diff) | |
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: 0853c7a53eb3 ("staging: mt7621-dma: ralink: add rt2880 dma engine")
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Sergio Paracuellos <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions