Re: [PATCH 1/2] drm/amdgpu: fix UBSAN warning in kv_dpm.c

2024-06-14 Thread Mario Limonciello
On 6/14/2024 13:33, Alex Deucher wrote: Adds bounds check for sumo_vid_mapping_entry. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3392 Signed-off-by: Alex Deucher Reviewed-by: Mario Limonciello --- drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c | 2 ++ 1 file changed, 2 insertions

[PATCH 1/2] drm/amdgpu: fix UBSAN warning in kv_dpm.c

2024-06-14 Thread Alex Deucher
Adds bounds check for sumo_vid_mapping_entry. Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3392 Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c b/drivers/gpu/dr