linux/drivers/gpu/drm/amd/display/amdgpu_dm
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
..
Makefile
amdgpu_dm.c drm/amd/display: Fix system hang after multiple hotplugs (v3) 2021-02-24 09:48:46 -05:00
amdgpu_dm.h drm/amd/display: Fix system hang after multiple hotplugs (v3) 2021-02-24 09:48:46 -05:00
amdgpu_dm_color.c
amdgpu_dm_crc.c
amdgpu_dm_crc.h
amdgpu_dm_debugfs.c drm/amd/display: Enable "trigger_hotplug" debugfs on all outputs 2021-02-02 12:11:16 -05:00
amdgpu_dm_debugfs.h
amdgpu_dm_hdcp.c drm/amdgpu/display: remove hdcp_srm sysfs on device removal 2021-02-18 16:43:08 -05:00
amdgpu_dm_hdcp.h drm/amdgpu/display: remove hdcp_srm sysfs on device removal 2021-02-18 16:43:08 -05:00
amdgpu_dm_helpers.c drm/amd/display: fix the return of the uninitialized value in ret 2021-03-03 23:05:16 -05:00
amdgpu_dm_irq.c drm/amd/display: Add otg vertical interrupt0 support in DCN1.0 2021-02-09 15:29:02 -05:00
amdgpu_dm_irq.h
amdgpu_dm_irq_params.h
amdgpu_dm_mst_types.c drm/amd/display: Release DSC before acquiring 2021-02-02 12:10:30 -05:00
amdgpu_dm_mst_types.h
amdgpu_dm_pp_smu.c
amdgpu_dm_services.c
amdgpu_dm_trace.h