kernel_samsung_a53x/drivers/gpu/drm/amd/pm/powerplay
Jesse Zhang 847d018f55 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>
2024-11-23 23:20:56 +01:00
..
hwmgr drm/amd/pm: fix the Out-of-bounds read warning 2024-11-23 23:20:56 +01:00
smumgr Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amd_powerplay.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cik_dpm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kv_dpm.c drm/amdgpu: fix UBSAN warning in kv_dpm.c 2024-11-19 14:19:31 +01:00
kv_dpm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
kv_smc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ppsmc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
r600_dpm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
si_dpm.c drm/amd/pm: fix a double-free in si_dpm_init 2024-11-18 12:12:41 +01:00
si_dpm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
si_smc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sislands_smc.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00