]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Initialize stack variable
authorWesley Chalmers <Wesley.Chalmers@amd.com>
Mon, 14 Dec 2020 20:35:02 +0000 (15:35 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:42:51 +0000 (23:42 -0500)
commit95f6cf324e81603626817c7578dff938392ea09d
tree89cefb32f63c13ab667c4aad8816132c0fdcb39b
parente0176eb1177b75e12adcf74836cd8247439f1823
drm/amd/display: Initialize stack variable

[WHY]
The stack variable "val" is potentially unpopulate it, so initialize it
with the value 0xf (indicating an invalid mux)

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Wesley Chalmers <Wesley.Chalmers@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_mpc.c