aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-10-03 07:46:50 -0700
committerBenjamin Tissoires <[email protected]>2024-10-04 10:37:09 +0200
commitae9b956cb26c0fd5a365629f2d723ab2fb14df79 (patch)
tree9b0449204bd2ecffb005154975812483234167e7 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent61595012f28036a58293df5a2ab75f80ca15c327 (diff)
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions