]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amd/display: Add otg_master NULL check within resource_log_pipe_topology_update
authorHersen Wu <hersenxs.wu@amd.com>
Fri, 26 Apr 2024 15:13:47 +0000 (11:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 May 2024 20:18:17 +0000 (16:18 -0400)
commit871cd9d881fa791d3f82885000713de07041c0ae
tree485558d91b1c71cfd256910bcee704c313c5488d
parent8aa2864044b9d13e95fe224f32e808afbf79ecdf
drm/amd/display: Add otg_master NULL check within resource_log_pipe_topology_update

[Why]
Coverity reports NULL_RETURN warning.

[How]
Add otg_master NULL check.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Hersen Wu <hersenxs.wu@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/core/dc_resource.c