diff options
author | Martin Leung <martin.leung@amd.com> | 2019-10-30 14:19:30 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-06-14 21:38:41 -0400 |
commit | ac78fa502afa539cce3a285e50d7fefaf4d2115e (patch) | |
tree | d152732115458228ed89887240d9497cc2e50f0f /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | ac31a24d9188a9599dfbce7664cb11e6292873a5 (diff) |
drm/amd/display: Add null check to dc_submit_i2c_oem
[why]
dc_submit_i2c_oem could be called with ddc null
[how]
add null check and fail the call instead
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Martin Leung <martin.leung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions