diff options
author | Srinivasan Shanmugam <[email protected]> | 2024-01-08 21:20:28 +0530 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-01-15 18:32:19 -0500 |
commit | 7073934f5d73f8b53308963cee36f0d389ea857c (patch) | |
tree | 2d2baa33ea479fbdcc3419a6a7598488ca62e7f2 /tools/perf | |
parent | 2b9a073b7304f4a9e130d04794c91a0c4f9a5c12 (diff) |
drm/amd/display: Fix variable deferencing before NULL check in edp_setup_replay()
In edp_setup_replay(), 'struct dc *dc' & 'struct dmub_replay *replay'
was dereferenced before the pointer 'link' & 'replay' NULL check.
Fixes the below:
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c:947 edp_setup_replay() warn: variable dereferenced before check 'link' (see line 933)
Cc: [email protected]
Cc: Bhawanpreet Lakha <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Rodrigo Siqueira <[email protected]>
Cc: Aurabindo Pillai <[email protected]>
Cc: Alex Deucher <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Aurabindo Pillai <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions