summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorJesse Zhang <jesse.zhang@amd.com>2024-04-30 10:29:08 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-08 07:53:04 +0200
commit20c6373a6be93039f9d66029bb1e21038a060be1 (patch)
tree98d5edff5b539178a366932bade3969f326bacd3 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent60f4a4bc3329e5cb8c4df0cc961f0d5ffd96e22d (diff)
drm/amd/pm: fix the Out-of-bounds read warning
[ Upstream commit 12c6967428a099bbba9dfd247bb4322a984fcc0b ] using index i - 1U may beyond element index for mc_data[] when i = 0. Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com> Reviewed-by: Tim Huang <Tim.Huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions