linux/drivers/gpu/drm/amd/display
Colin Ian King b934dd9b44 drm/amd/display: fix the return of the uninitialized value in ret
Currently if stream->signal is neither SIGNAL_TYPE_DISPLAY_PORT_MST or
SIGNAL_TYPE_DISPLAY_PORT then variable ret is uninitialized and this is
checked for > 0 at the end of the function.  Ret should be initialized,
I believe setting it to zero is a correct default.

Addresses-Coverity: ("Uninitialized scalar variable")
Fixes: bd0c064c16 ("drm/amd/display: Add return code instead of boolean for future use")
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-03-03 23:05:16 -05:00
..
amdgpu_dm drm/amd/display: fix the return of the uninitialized value in ret 2021-03-03 23:05:16 -05:00
dc drm/amd/display: Remove Assert from dcn10_get_dig_frontend 2021-02-22 18:21:30 -05:00
dmub drm/amd/display: [FW Promotion] Release 0.0.51 2021-02-09 15:48:34 -05:00
include drm/amd/display: Add internal display info 2020-11-24 12:08:15 -05:00
modules drm/amd/display: DP HDCP Compliance 1A-08/09 tests fail 2021-02-09 15:31:00 -05:00
Kconfig drm/amdgpu/display: drop DCN support for aarch64 2021-01-05 11:35:53 -05:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO