summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
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 11:02:24 -0400
commit98f9e5ea474d834eed2e1fb163ef3ab956ef8205 (patch)
tree82e044979b5d079664c6cf05798a7641ebec8ccb /scripts/gdb/linux/utils.py
parent34a6aa4e12dfa7a9cac031193bfc586bc015adf3 (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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions