mirror_ubuntu-kernels/drivers/gpu/drm/amd
Tasos Sahanidis c6c4dd5401 drm/amdgpu/pptable: Fix UBSAN array-index-out-of-bounds
Flexible arrays used [1] instead of []. Replace the former with the latter
to resolve multiple UBSAN warnings observed on boot with a BONAIRE card.

In addition, use the __counted_by attribute where possible to hint the
length of the arrays to the compiler and any sanitizers.

Signed-off-by: Tasos Sahanidis <tasos@tasossah.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2024-06-05 13:43:34 -04:00
..
acp
amdgpu amd-drm-fixes-6.10-2024-05-30: 2024-05-31 08:38:15 +10:00
amdkfd amd-drm-fixes-6.10-2024-05-30: 2024-05-31 08:38:15 +10:00
amdxcp drm/amdxcp: fix amdxcp unloads incompletely 2023-10-26 19:04:53 -04:00
display amd-drm-fixes-6.10-2024-05-30: 2024-05-31 08:38:15 +10:00
include drm/amdgpu/pptable: Fix UBSAN array-index-out-of-bounds 2024-06-05 13:43:34 -04:00
pm drm/amd: Fix shutdown (again) on some SMU v13.0.4/11 platforms 2024-06-05 13:41:56 -04:00