diff options
| author | Srinivasan Shanmugam <[email protected]> | 2024-01-08 15:50:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-01-15 23:32:19 +0000 |
| commit | 7073934f5d73f8b53308963cee36f0d389ea857c (patch) | |
| tree | 2d2baa33ea479fbdcc3419a6a7598488ca62e7f2 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/amdgpu: update regGL2C_CTRL4 value in golden setting (diff) | |
| download | kernel-7073934f5d73f8b53308963cee36f0d389ea857c.tar.gz kernel-7073934f5d73f8b53308963cee36f0d389ea857c.zip | |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
