mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
drm/amd/pm: fix smu table id bound check issue in smu_cmn_update_table()
[ Upstream commit238d468d3e] 'table_index' is a variable defined by the smu driver (kmd) 'table_id' is a variable defined by the hw smu (pmfw) This code should use table_index as a bounds check. Fixes:caad2613dc("drm/amd/powerplay: move table setting common code to smu_cmn.c") Signed-off-by: Yang Wang <kevinyang.wang@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commitfca0c66b22) Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
ec18f6b2c7
commit
deaa95e09b
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue