diff options
| author | Alex Hung <alex.hung@amd.com> | 2024-07-15 10:24:58 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-27 17:31:52 -0400 |
| commit | 722e96c99f1d7532fdfbb557f50a399f6cc57d82 (patch) | |
| tree | b0b00dd954cc90e001fc4456ee4293256fdc368a /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |
| parent | drm/amd/display: Fix possible overflow in integer multiplication (diff) | |
| download | linux-722e96c99f1d7532fdfbb557f50a399f6cc57d82.tar.gz linux-722e96c99f1d7532fdfbb557f50a399f6cc57d82.zip | |
drm/amd/display: Check null pointers before using them
[WHAT & HOW]
dc_link is null checked previously in the same function, indicating it
might be null as reported by Coverity.
This fixes 1 FORWARD_NULL issue reported by Coverity.
Signed-off-by: Alex Hung <alex.hung@amd.com>
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
0 files changed, 0 insertions, 0 deletions
