Alex Hung
df8d896f8f
drm/amd/display: enable_hpo_dp_link_output: Check link_res->hpo_dp_link_enc before using it
...
commit d925c04d974c657d10471c0c2dba3bc9c7d994ee upstream.
[WHAT & HOW]
Functions dp_enable_link_phy and dp_disable_link_phy can pass link_res
without initializing hpo_dp_link_enc and it is necessary to check for
null before dereferencing.
This fixes 1 FORWARD_NULL issue reported by Coverity.
Fixes: 0beca868cde8 ("drm/amd/display: Check link_res->hpo_dp_link_enc before using it")
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-10-10 12:01:14 +02:00
..
2024-10-10 12:00:42 +02:00
2024-05-24 08:43:25 -07:00
2024-10-10 12:01:12 +02:00
2024-09-12 11:13:07 +02:00
2024-10-10 12:00:30 +02:00
2024-08-29 17:35:47 +02:00
2024-08-03 09:01:04 +02:00
2024-10-04 16:33:34 +02:00
2024-10-10 12:00:59 +02:00
2024-10-10 12:00:16 +02:00
2024-10-04 16:33:33 +02:00
2024-05-15 12:59:55 -06:00
2024-10-04 16:33:48 +02:00
2024-10-10 12:01:02 +02:00
2024-10-04 16:32:37 +02:00
2024-06-22 13:48:11 +09:00
2024-10-10 12:01:08 +02:00
2024-10-04 16:33:42 +02:00
2024-10-10 12:01:13 +02:00
2024-10-04 16:33:19 +02:00
2024-05-19 09:21:03 -07:00
2024-09-08 07:56:37 +02:00
2024-09-18 19:25:16 +02:00
2024-05-13 16:53:53 -07:00
2024-10-04 16:33:41 +02:00
2024-10-04 16:33:05 +02:00
2024-10-10 12:01:07 +02:00
2024-05-22 12:26:46 -07:00
2024-10-10 12:01:05 +02:00
2024-10-10 12:01:14 +02:00
2024-10-10 12:00:39 +02:00
2024-09-12 11:13:07 +02:00
2024-10-10 12:00:26 +02:00
2024-09-08 07:56:32 +02:00
2024-10-04 16:33:18 +02:00
2024-10-10 12:00:47 +02:00
2024-10-10 12:00:58 +02:00
2024-10-10 12:01:12 +02:00
2024-10-10 12:01:11 +02:00
2024-10-10 12:01:03 +02:00
2024-10-04 16:33:19 +02:00
2024-10-10 12:00:27 +02:00
2024-09-12 11:12:50 +02:00
2024-08-03 09:01:04 +02:00
2024-10-04 16:33:07 +02:00
2024-08-03 09:00:17 +02:00
2024-10-10 12:00:03 +02:00
2024-10-04 16:33:49 +02:00
2024-10-10 12:01:01 +02:00
2024-10-10 12:00:47 +02:00
2024-05-14 18:25:53 -07:00
2024-08-03 09:00:03 +02:00
2024-09-18 19:25:13 +02:00
2024-09-12 11:12:45 +02:00
2024-10-04 16:32:41 +02:00
2024-10-10 12:01:12 +02:00
2024-09-04 13:30:11 +02:00
2024-10-04 16:33:13 +02:00
2024-10-04 16:33:06 +02:00
2024-10-10 12:00:43 +02:00
2024-09-12 11:13:07 +02:00
2024-10-10 12:00:54 +02:00
2024-08-03 08:59:20 +02:00
2024-08-03 09:00:45 +02:00
2024-10-04 16:33:25 +02:00
2024-09-12 11:12:53 +02:00
2024-10-10 12:00:58 +02:00
2024-10-04 16:33:04 +02:00
2024-10-04 16:33:09 +02:00
2024-10-10 12:00:45 +02:00
2024-10-10 12:00:26 +02:00
2024-05-28 21:53:51 +02:00
2024-10-10 12:00:48 +02:00
2024-10-04 16:32:20 +02:00
2024-10-04 16:33:34 +02:00
2024-09-12 11:12:57 +02:00
2024-08-03 08:59:14 +02:00
2024-05-14 23:36:19 +09:00
2024-09-08 07:56:36 +02:00
2024-10-04 16:32:34 +02:00
2024-10-10 12:01:11 +02:00
2024-10-04 16:32:36 +02:00
2024-05-23 12:04:36 -07:00
2024-10-10 12:01:03 +02:00
2024-10-04 16:32:56 +02:00
2024-10-10 12:00:36 +02:00
2024-10-04 16:33:43 +02:00
2024-09-18 19:25:16 +02:00
2024-10-10 12:00:48 +02:00
2024-08-14 15:34:31 +02:00
2024-10-04 16:33:05 +02:00
2024-05-21 13:11:44 -07:00
2024-06-27 17:10:38 +02:00
2024-10-04 16:32:25 +02:00
2024-08-29 17:35:36 +02:00
2024-10-04 16:33:45 +02:00
2024-10-04 16:33:31 +02:00
2024-09-12 11:13:07 +02:00
2024-10-04 16:33:44 +02:00
2024-10-04 16:33:19 +02:00
2024-09-12 11:12:53 +02:00
2024-10-10 12:01:13 +02:00
2024-10-10 12:00:26 +02:00
2024-09-12 11:12:50 +02:00
2024-09-12 11:12:59 +02:00
2024-10-04 16:33:11 +02:00
2024-10-04 16:32:49 +02:00