diff options
author | Dan Carpenter <[email protected]> | 2015-03-11 12:36:07 +0300 |
---|---|---|
committer | Darren Hart <[email protected]> | 2015-03-14 12:00:19 -0700 |
commit | 741d98c733b6605fc621c5c8740c7120ae1c0006 (patch) | |
tree | 926eb28f569a2ffa67e78b09eb4d4ddb7df8ee27 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | abf9dc0d9ae813d425675656f1af16f58c60e443 (diff) |
thinkpad_acpi: off by one in adaptive_keyboard_hotkey_notify_hotkey()
This should be >= instead of > because otherwise we read one element
past the end of the hotkey_keycode_map[] array.
The hotkey_keycode_map[] array has TPACPI_HOTKEY_MAP_LEN elements.
Fixes: 6a68d8557084 ('thinkpad_acpi: Add support for more adaptive kbd buttons')
Signed-off-by: Dan Carpenter <[email protected]>
Acked-By: Bastien Nocera <[email protected]>
Acked-by: Henrique de Moraes Holschuh <[email protected]>
Signed-off-by: Darren Hart <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions