summaryrefslogtreecommitdiff
path: root/drivers/block/paride
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-03-02 17:05:09 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-03-04 07:05:16 +0300
commitb934dd9b44e8ad180b3203ce7d6df3133453ee91 (patch)
tree0c3f0f7cd301ea525ff94242e68368d21fc7eba9 /drivers/block/paride
parent25951362db7b3791488ec45bf56c0043f107b94b (diff)
downloadlinux-b934dd9b44e8ad180b3203ce7d6df3133453ee91.tar.xz
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: bd0c064c161c ("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>
Diffstat (limited to 'drivers/block/paride')
0 files changed, 0 insertions, 0 deletions