aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Hung <[email protected]>2024-06-27 16:45:39 -0600
committerAlex Deucher <[email protected]>2024-07-23 17:07:12 -0400
commit0beca868cde8742240cd0038141c30482d2b7eb8 (patch)
treea99d7aea001b8e8fe66e6bdfff39a084e062ce48 /tools/perf/scripts/python
parent9932ca4c03c8181601f611dd366fceb765329800 (diff)
drm/amd/display: Check link_res->hpo_dp_link_enc before using it
[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 2 FORWARD_NULL issues reported by Coverity. Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Jerry Zuo <[email protected]> Signed-off-by: Alex Hung <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions