]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Validate function returns
authorAlex Hung <alex.hung@amd.com>
Tue, 11 Jun 2024 17:45:42 +0000 (11:45 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2024 21:10:38 +0000 (17:10 -0400)
commit673f816b9e1e92d1f70e1bf5f21b531e0ff9ad6c
tree3b3adcf4c2af16e38b2f0adfc8a7c9a0b0ee9f39
parentc53bb80f49a7cea933ccb4b7a458e6983820e9a5
drm/amd/display: Validate function returns

[WHAT & HOW]
Function return values must be checked before data can be used
in subsequent functions.

This fixes 4 CHECKED_RETURN issues reported by Coverity.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
drivers/gpu/drm/amd/display/dc/hubbub/dcn20/dcn20_hubbub.c
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_training.c