Commit 310b9d83 authored by Tim Huang's avatar Tim Huang Committed by Greg Kroah-Hartman
Browse files

drm/amdgpu: fix mc_data out-of-bounds read warning



[ Upstream commit 51dfc0a4 ]

Clear warning that read mc_data[i-1] may out-of-bounds.

Signed-off-by: default avatarTim Huang <Tim.Huang@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 5f09fa5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment