]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/radeon: fix UBSAN warning in kv_dpm.c
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 20 May 2024 13:11:45 +0000 (09:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Jun 2024 22:25:37 +0000 (18:25 -0400)
commita498df5421fd737d11bfd152428ba6b1c8538321
tree98e4a15966e4444e63229b72217a7b84926c2688
parent301daa346f0e34a87fb6c1e4a05db2aa0a66b573
drm/radeon: fix UBSAN warning in kv_dpm.c

Adds bounds check for sumo_vid_mapping_entry.

Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/sumo_dpm.c