diff options
author | Amelie Delaunay <amelie.delaunay@st.com> | 2017-06-27 17:45:20 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-28 21:00:55 +0200 |
commit | 7b821a6485c943edc752a94260a29116237f9153 (patch) | |
tree | a6054e67cc1921ee67e8751ed16eb2709f92d875 /CREDITS | |
parent | spi: stm32: enhance DMA error management (diff) | |
download | linux-7b821a6485c943edc752a94260a29116237f9153.tar.xz linux-7b821a6485c943edc752a94260a29116237f9153.zip |
spi: stm32: fix potential dereference null return value
This patch fixes the usage of rx_dma_desc and tx_dma_desc pointers
returned by dmaengine_prep_slave_sg, which can be null.
Detected by CoverityScan, CID#1446587 ("Dereference null return value")
Reported-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions