Colin Ian King
27a451e83e
drm/nouveau/kms/nv50: perform null check on msto[i] rathern than msto
...
The null check on the array msto is incorrect since msto is never
null. The null check should be instead on msto[i] since this is
being dereferenced in the call to drm_mode_connector_attach_encoder.
Thanks to Emil Velikov for pointing out the mistake in my original
fix and for suggesting the correct fix.
Detected by CoverityScan, CID#1375915 ("Array compared against 0")
Fixes: f479c0ba4a ("drm/nouveau/kms/nv50: initial support for DP 1.2 multi-stream")
Signed-off-by: Colin Ian King <colin.king@canonical.com >
Signed-off-by: Ben Skeggs <bskeggs@redhat.com >
2017-08-22 18:04:36 +10:00
..
2017-08-22 18:04:35 +10:00
2017-08-22 18:04:32 +10:00
2017-02-17 15:15:00 +10:00
2017-08-22 18:04:36 +10:00
2017-05-17 14:36:01 +02:00
2017-01-09 11:30:30 +01:00
2017-02-17 15:15:04 +10:00
2015-11-03 15:02:18 +10:00
2017-06-07 12:20:49 +02:00
2015-08-28 12:40:49 +10:00
2017-02-17 15:15:04 +10:00
2017-08-22 18:04:31 +10:00
2016-10-12 17:29:02 +10:00
2017-04-04 23:33:42 -04:00
2017-02-17 17:38:04 +10:00
2017-02-17 17:38:09 +10:00
2017-02-17 17:38:09 +10:00
2017-08-22 18:04:32 +10:00
2016-12-18 16:29:29 +05:30
2017-08-04 11:36:11 +02:00
2017-03-01 16:09:52 +01:00
2017-03-01 16:09:52 +01:00
2017-08-22 18:04:34 +10:00
2017-05-10 10:21:31 +02:00
2016-05-20 14:43:04 +10:00
2015-08-28 12:40:32 +10:00
2016-11-07 14:05:03 +10:00
2017-08-22 18:04:36 +10:00
2017-06-16 13:58:27 +10:00
2017-06-16 14:04:57 +10:00
2017-08-04 11:36:11 +02:00
2016-11-07 14:04:44 +10:00
2017-02-23 18:58:18 -08:00
2017-01-31 20:05:25 +10:00
2017-05-08 17:15:13 -07:00
2017-02-17 17:38:04 +10:00
2017-06-16 14:05:03 +10:00
2014-06-10 09:36:17 +10:00
2017-02-17 17:38:07 +10:00
2017-01-31 20:05:25 +10:00
2017-02-17 15:15:00 +10:00
2017-04-06 14:39:04 +10:00
2016-05-20 14:43:04 +10:00
2017-02-17 15:15:02 +10:00
2015-01-22 12:17:47 +10:00
2017-02-17 15:15:04 +10:00
2017-08-17 15:45:59 -04:00
2017-03-14 14:38:33 +01:00
2014-08-10 05:28:18 +10:00
2017-06-16 14:05:04 +10:00
2017-02-17 15:15:04 +10:00
2016-10-25 14:40:39 +02:00
2016-11-07 14:05:01 +10:00
2016-11-07 14:05:01 +10:00
2017-02-17 15:15:04 +10:00
2017-08-22 18:04:36 +10:00
2016-11-07 14:05:01 +10:00
2016-11-07 14:04:44 +10:00
2017-02-17 15:15:04 +10:00
2017-02-23 12:10:12 +10:00
2016-11-07 14:04:44 +10:00
2016-05-20 14:43:04 +10:00