diff options
author | Ma Jun <Jun.Ma2@amd.com> | 2024-04-24 15:44:56 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-05-08 15:17:04 -0400 |
commit | 7e39d7ec35883a168343ea02f40e260e176c6c63 (patch) | |
tree | b70a144ab33f8d0336e639c05a8a1540a0ae8ff0 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | |
parent | df4409d8a04dd39d7f2aa0c5f528a56b99eaaa13 (diff) | |
download | linux-7e39d7ec35883a168343ea02f40e260e176c6c63.tar.gz linux-7e39d7ec35883a168343ea02f40e260e176c6c63.tar.bz2 linux-7e39d7ec35883a168343ea02f40e260e176c6c63.zip |
drm/amdgpu: Fix the uninitialized variable warning
Check the user input and phy_id value range to fix
"Using uninitialized value phy_id"
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions