"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "a33b7b0a89a240a1416fa489f0b805488bfb9afd"
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>
Loading
Please register or sign in to comment