diff options
author | Wayne Lin <[email protected]> | 2024-05-27 15:33:48 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2024-06-14 16:17:16 -0400 |
commit | ad28d7c3d989fc5689581664653879d664da76f0 (patch) | |
tree | 2d43a4a6cffaa2433969386ae928b623f52e190f /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 9a573481887e330b808e88005ffa142092c9fdbb (diff) |
drm/amd/display: Correct the defined value for AMDGPU_DMUB_NOTIFICATION_MAX
[Why & How]
It actually exposes '6' types in enum dmub_notification_type. Not 5. Using smaller
number to create array dmub_callback & dmub_thread_offload has potential to access
item out of array bound. Fix it.
Reviewed-by: Jerry Zuo <[email protected]>
Acked-by: Zaeem Mohamed <[email protected]>
Signed-off-by: Wayne Lin <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions