LABBE Corentin
32e80820de
dmaengine: img-mdc: fix a possible NULL dereference
...
of_match_device could return NULL, and so cause a NULL pointer
dereference later at line 850:
mdma->soc = match->data;
For fixing this problem, we use of_device_get_match_data(), this will
simplify the code a little by using a standard function for
getting the match data.
This was reported by coverity (CID 1324134)
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
2016-08-22 11:57:49 +05:30
..
2016-06-21 21:35:00 +05:30
2016-05-02 15:31:05 +05:30
2016-06-25 14:30:42 -07:00
2016-07-23 16:07:29 +05:30
2016-06-21 21:35:00 +05:30
2016-07-28 10:10:37 +05:30
2016-08-08 13:42:06 +05:30
2016-07-24 11:55:17 +05:30
2016-02-22 09:06:09 +05:30
2016-06-21 21:35:00 +05:30
2016-08-22 11:52:25 +05:30
2016-07-06 22:39:43 +05:30
2016-07-23 16:07:25 +05:30
2016-07-23 16:07:27 +05:30
2016-07-01 22:56:41 +05:30
2016-07-16 20:19:00 +05:30
2016-05-17 10:13:40 +05:30
2016-07-16 20:17:26 +05:30
2016-07-16 20:18:58 +05:30
2016-01-25 09:49:55 +05:30
2016-08-22 11:51:34 +05:30
2016-07-16 20:19:00 +05:30
2016-06-21 21:35:00 +05:30
2016-02-15 22:06:45 +05:30
2016-03-24 23:13:48 -07:00
2016-08-22 11:57:49 +05:30
2016-07-16 20:19:01 +05:30
2016-07-23 16:07:28 +05:30
2016-03-09 14:57:51 +01:00
2016-07-28 10:10:37 +05:30
2016-07-16 20:10:54 +05:30
2016-07-12 10:09:53 +05:30
2016-03-03 21:13:01 +05:30
2016-07-16 20:19:03 +05:30
2016-07-16 20:19:03 +05:30
2016-07-16 20:19:03 +05:30
2016-07-16 20:19:05 +05:30
2016-07-12 10:10:00 +05:30
2016-07-28 15:45:17 -07:00
2016-05-03 12:27:47 +05:30
2016-07-16 20:19:04 +05:30
2016-05-14 13:34:10 +05:30
2016-07-28 10:10:37 +05:30
2016-07-16 20:19:05 +05:30
2016-08-19 16:17:26 +05:30
2016-07-23 16:07:24 +05:30
2016-07-23 16:07:24 +05:30
2016-06-08 08:59:55 +05:30
2016-06-21 21:35:00 +05:30
2015-12-10 09:45:22 +05:30
2016-05-27 15:26:11 -07:00
2016-06-21 21:35:00 +05:30
2016-07-16 20:10:42 +05:30
2016-05-13 14:56:24 +05:30
2016-06-28 20:09:54 +05:30
2016-06-21 21:35:00 +05:30
2016-07-23 16:07:25 +05:30
2016-01-06 15:17:47 +05:30
2016-01-07 11:09:36 +05:30