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:23:48 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-09-08 07:53:04 +0200
commit60f4a4bc3329e5cb8c4df0cc961f0d5ffd96e22d (patch)
tree8584a5b2152049d615017cdbf23f90e38709350c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parente95ee4990c3e7025d838a4458ab165fe3721829c (diff)
drm/amd/pm: Fix negative array index read
[ Upstream commit c8c19ebf7c0b202a6a2d37a52ca112432723db5f ] Avoid using the negative values for clk_idex as an index into an array pptable->DpmDescriptor. V2: fix clk_index return check (Tim Huang) 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