summaryrefslogtreecommitdiff
path: root/mm/execmem.c
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-05-31 19:23:30 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-06-05 13:43:34 -0400
commitc6c4dd54012551cce5cde408b35468f2c62b0cce (patch)
tree62d67f2d23974ad8fd17598c7d1d32da906ee152 /mm/execmem.c
parent267cace556e8a53d703119f7435ab556209e5b6a (diff)
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>
Diffstat (limited to 'mm/execmem.c')
0 files changed, 0 insertions, 0 deletions