summaryrefslogtreecommitdiffstats
path: root/drivers/spi/Kconfig
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 /drivers/spi/Kconfig
parentc67ad368cf75d4999d5ef86543d082b4b35dd2d7 (diff)
downloadlinux-7b821a6485c943edc752a94260a29116237f9153.tar.bz2
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 'drivers/spi/Kconfig')
0 files changed, 0 insertions, 0 deletions