drm/amd/display: Fix Coverity Issues
authorChris Park <Chris.Park@amd.com>
Thu, 4 Nov 2021 20:52:08 +0000 (16:52 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Nov 2021 21:58:08 +0000 (16:58 -0500)
commit095041dbfa03a193c7e76c00b0cdd1cfcd45869e
tree6b15e052e0e5a3aa7f3e182bc8f28164c9147c87
parent4cbe435dd68884a9f6669fceb20f3e70a70c7702
drm/amd/display: Fix Coverity Issues

[Why]
Coverity discovers holes in logic that needs to be addressed for
improved code integrity.

[How]
Address issues found by coverity without changing the actual logic.

Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Chris Park <Chris.Park@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c