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