aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAurabindo Pillai <[email protected]>2022-11-02 15:35:53 -0400
committerAlex Deucher <[email protected]>2022-11-15 13:35:14 -0500
commit4fc1ba4aa589ca267468ad23fedef37562227d32 (patch)
tree813e34c78ea42f65060b7c323186aa02668b13fa /tools/perf/scripts/python
parent6f8816261db9251f2635533572f95ab8e530266c (diff)
drm/amd/display: fix array index out of bound error in bios parser
[Why&How] Firmware headers dictate that gpio_pin array only has a size of 8. The count returned from vbios however is greater than 8. Fix this by not using array indexing but incrementing the pointer since gpio_pin definition in atomfirmware.h is hardcoded to size 8 Reviewed-by: Martin Leung <[email protected]> Acked-by: Tom Chung <[email protected]> Signed-off-by: Aurabindo Pillai <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions