diff options
author | Alex Hung <alex.hung@amd.com> | 2024-04-15 22:16:08 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-26 17:22:44 -0400 |
commit | f851b078b1ed33758662f9bbe8f332c0c45a107a (patch) | |
tree | 59d48e4ee1d85f1da5b126474754896e2de0f3d3 /drivers/gpu/drm/amd/display/dc/bios/command_table.c | |
parent | ba3193fa8fc8910f724b67a523ec67ee24997d3e (diff) | |
download | linux-f851b078b1ed33758662f9bbe8f332c0c45a107a.tar.gz linux-f851b078b1ed33758662f9bbe8f332c0c45a107a.tar.bz2 linux-f851b078b1ed33758662f9bbe8f332c0c45a107a.zip |
drm/amd/display: Fix uninitialized variables in DC
This fixes 29 UNINIT issues reported by Coverity.
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/bios/command_table.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/bios/command_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/bios/command_table.c b/drivers/gpu/drm/amd/display/dc/bios/command_table.c index 86f9198e7501..2bcae0643e61 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/command_table.c +++ b/drivers/gpu/drm/amd/display/dc/bios/command_table.c @@ -399,7 +399,7 @@ static enum bp_result transmitter_control_v1_6( static void init_transmitter_control(struct bios_parser *bp) { uint8_t frev; - uint8_t crev; + uint8_t crev = 0; if (BIOS_CMD_TABLE_REVISION(UNIPHYTransmitterControl, frev, crev) == false) |