Amelie Delaunay
7b821a6485
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>
2017-06-28 20:00:55 +01:00
..
2017-06-21 16:15:54 +01:00
2017-06-21 16:15:54 +01:00
2017-02-19 16:40:55 +00:00
2016-12-14 17:36:57 +00:00
2017-04-18 18:50:05 +01:00
2017-01-09 11:20:46 +00:00
2017-01-06 18:21:50 +00:00
2017-03-13 15:51:50 +00:00
2017-02-21 16:25:48 -08:00
2017-02-20 17:26:11 -08:00
2016-09-24 20:03:25 +01:00
2016-09-14 18:03:32 +01:00
2017-04-26 15:23:45 +01:00
2017-03-17 22:00:51 +00:00
2017-01-04 12:27:00 +00:00
2017-04-18 19:16:49 +01:00
2017-01-09 11:22:14 +00:00
2017-01-09 11:22:14 +00:00
2017-02-16 20:10:26 +00:00
2017-02-19 16:39:21 +00:00
2016-12-01 18:50:59 +00:00
2016-11-14 11:21:48 +00:00
2017-01-09 19:34:02 +00:00
2017-04-26 15:58:04 +01:00
2017-04-25 16:37:53 +01:00
2016-09-24 20:03:25 +01:00
2016-11-23 16:42:20 +00:00
2017-04-26 15:58:04 +01:00
2017-04-26 15:58:16 +01:00
2016-09-12 20:11:39 +01:00
2017-01-17 18:28:19 +00:00
2017-01-31 19:55:38 +00:00
2017-03-24 18:50:23 +00:00
2017-04-07 18:15:20 +01:00
2017-04-06 11:55:22 +01:00
2017-01-17 18:34:25 +00:00
2016-09-12 20:01:27 +01:00
2017-01-23 18:09:37 +00:00
2017-02-19 16:41:01 +00:00
2016-11-14 13:52:04 +00:00
2016-09-30 09:14:14 -07:00
2016-12-19 13:29:27 +00:00
2017-02-19 16:41:05 +00:00
2017-02-19 16:41:05 +00:00
2017-02-22 10:50:09 -08:00
2017-01-04 17:39:37 +00:00
2016-09-14 16:05:35 +01:00
2017-06-28 20:00:55 +01:00
2016-10-29 12:11:30 -06:00
2017-03-20 15:38:51 +00:00
2017-04-24 18:44:28 +01:00
2017-04-24 18:44:28 +01:00
2017-04-24 18:44:28 +01:00
2017-03-17 21:54:08 +00:00
2017-04-26 15:58:22 +01:00
2017-01-17 18:38:02 +00:00
2017-03-13 16:48:40 +00:00
2017-04-26 15:58:22 +01:00
2017-03-16 11:14:27 +00:00