summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@st.com>2017-06-27 17:45:20 +0200
committerMark Brown <broonie@kernel.org>2017-06-28 20:00:55 +0100
commit7b821a6485c943edc752a94260a29116237f9153 (patch)
treea6054e67cc1921ee67e8751ed16eb2709f92d875 /ipc
parentc67ad368cf75d4999d5ef86543d082b4b35dd2d7 (diff)
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 'ipc')
0 files changed, 0 insertions, 0 deletions