diff options
author | Amelie Delaunay <amelie.delaunay@st.com> | 2017-06-27 18:45:20 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-28 22:00:55 +0300 |
commit | 7b821a6485c943edc752a94260a29116237f9153 (patch) | |
tree | a6054e67cc1921ee67e8751ed16eb2709f92d875 /drivers/infiniband/hw/i40iw/i40iw_utils.c | |
parent | c67ad368cf75d4999d5ef86543d082b4b35dd2d7 (diff) | |
download | linux-7b821a6485c943edc752a94260a29116237f9153.tar.xz |
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/infiniband/hw/i40iw/i40iw_utils.c')
0 files changed, 0 insertions, 0 deletions