diff options
author | 2022-02-03 15:32:20 +0100 | |
---|---|---|
committer | 2022-03-01 15:46:02 +0100 | |
commit | 187ccd6caa4b40dcfbcb2531746e9fe500414e79 (patch) | |
tree | d0ef0cc13cc701f00c06b09ad1d047135d34afe0 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | HID: input: rework spaghetti code with switch statements (diff) | |
download | wireguard-linux-187ccd6caa4b40dcfbcb2531746e9fe500414e79.tar.xz wireguard-linux-187ccd6caa4b40dcfbcb2531746e9fe500414e79.zip |
HID: input: move up out-of-range processing of input values
It actually makes sense to clamp the value to its boundaries before
doing further processing.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: Ping Cheng <ping.cheng@wacom.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions