Commit f71ef2bb authored by Ma Jun's avatar Ma Jun Committed by Greg Kroah-Hartman
Browse files

drm/amdgpu: Fix the uninitialized variable warning



[ Upstream commit 7e39d7ec ]

Check the user input and phy_id value range to fix
"Using uninitialized value phy_id"

Signed-off-by: default avatarMa Jun <Jun.Ma2@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3ad44174
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment