summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-03 17:46:50 +0300
committerBenjamin Tissoires <bentiss@kernel.org>2024-10-04 11:37:09 +0300
commitae9b956cb26c0fd5a365629f2d723ab2fb14df79 (patch)
tree9b0449204bd2ecffb005154975812483234167e7 /tools/perf/scripts/python/export-to-postgresql.py
parent61595012f28036a58293df5a2ab75f80ca15c327 (diff)
downloadlinux-ae9b956cb26c0fd5a365629f2d723ab2fb14df79.tar.xz
HID: simplify snto32()
snto32() does exactly what sign_extend32() does, but handles potentially malformed data coming from the device. Keep the checks, but then call sign_extend32() to perform the actual conversion. Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Link: https://patch.msgid.link/20241003144656.3786064-1-dmitry.torokhov@gmail.com Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions