diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-07-03 14:37:53 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-07-08 16:22:49 -0700 |
commit | 0cd58773520584ccb4ce1eeebd8d43f1b27bb24a (patch) | |
tree | fabfaef026dbca5483045860fb65d1055d60cd9b /scripts/gdb/linux/timerlist.py | |
parent | 3544cf574a577d92111f0b29e6d649b7ea3210ed (diff) |
Input: preallocate memory to hold event values
Preallocate memory for holding event values (input_dev->vals) so that
there is no need to check if it was allocated or not in the event
processing code.
The amount of memory will be adjusted after input device has been fully
set up upon registering device with the input core.
Reviewed-by: Jeff LaBundy <jeff@labundy.com>
Reviewed-by: Benjamin Tissoires <bentiss@kernel.org>
Link: https://lore.kernel.org/r/20240703213756.3375978-7-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions