Ihor Solodrai
8157cc739a
HID: Use bpf_wq_set_callback kernel function
...
Remove extern declaration of bpf_wq_set_callback_impl() from
hid_bpf_helpers.h and replace bpf_wq_set_callback macro with a
corresponding new declaration.
Tested with:
# append tools/testing/selftests/hid/config and build the kernel
$ make -C tools/testing/selftests/hid
# in built kernel
$ ./tools/testing/selftests/hid/hid_bpf -t test_multiply_events_wq
TAP version 13
1..1
# Starting 1 tests from 1 test cases.
# RUN hid_bpf.test_multiply_events_wq ...
[ 2.575520] hid-generic 0003:0001:0A36.0001: hidraw0: USB HID v0.00 Device [test-uhid-device-138] on 138
# OK hid_bpf.test_multiply_events_wq
ok 1 hid_bpf.test_multiply_events_wq
# PASSED: 1 / 1 tests passed.
# Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0
PASS
Acked-by: Benjamin Tissoires <bentiss@kernel.org >
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev >
Link: https://lore.kernel.org/r/20260120222638.3976562-9-ihor.solodrai@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org >
2026-01-20 16:15:57 -08:00
..
2025-12-15 13:00:03 -06:00
2026-01-05 19:06:40 +01:00
2025-12-05 17:29:04 -08:00
2025-12-29 11:34:16 +01:00
2025-12-16 14:23:10 +09:00
2026-01-08 08:47:32 -08:00
2025-12-16 12:58:57 +01:00
2026-01-09 15:42:46 -10:00
2025-12-19 17:23:18 -05:00
2025-12-06 18:34:24 -08:00
2025-11-21 18:42:02 +00:00
2025-12-06 18:34:24 -08:00
2025-12-08 09:38:52 +09:00
2025-12-05 17:29:04 -08:00
2025-12-06 18:34:24 -08:00
2025-12-22 20:03:23 +09:00
2025-12-16 07:59:30 -06:00
2025-12-05 17:29:04 -08:00
2025-12-29 08:44:14 +08:00
2025-12-05 17:47:59 -08:00
2025-12-05 13:52:43 -08:00
2025-11-26 13:58:59 +09:00
2025-11-27 18:11:43 -08:00
2025-12-09 06:35:53 +09:00
2025-12-04 18:42:48 -08:00
2025-11-25 19:20:42 -08:00
2025-12-06 09:01:27 -08:00
2025-12-26 22:04:03 +09:00
2025-12-24 21:32:57 +01:00
2025-11-20 16:44:04 +01:00
2025-11-26 14:28:19 +01:00
2026-01-09 09:56:46 +01:00
2026-01-08 10:34:27 +10:00
2025-11-26 14:40:59 +01:00
2026-01-20 16:15:57 -08:00
2025-12-18 20:00:10 +00:00
2025-12-19 08:44:22 -08:00
2025-12-06 18:34:24 -08:00
2025-12-17 00:28:51 +01:00
2025-12-12 23:59:39 +01:00
2025-12-06 18:34:24 -08:00
2025-12-30 06:45:51 -05:00
2025-12-21 15:21:10 -08:00
2025-11-19 16:03:12 +02:00
2026-01-10 10:50:45 +01:00
2026-01-09 16:10:05 +01:00
2025-12-05 17:29:04 -08:00
2025-12-05 17:29:04 -08:00
2025-11-28 09:47:44 -06:00
2026-01-02 12:15:59 -08:00
2025-12-15 15:12:28 +01:00
2025-12-05 17:29:04 -08:00
2025-12-04 15:18:33 -08:00
2026-01-11 07:27:44 -10:00
2025-12-17 14:14:51 +01:00
2026-01-11 06:09:11 -10:00
2025-11-26 15:09:30 +01:00
2026-01-08 08:40:35 -10:00
2025-12-11 01:40:00 -08:00
2025-12-06 09:32:25 -08:00
2025-12-09 08:53:24 +09:00
2025-12-06 18:34:24 -08:00
2026-01-02 15:36:37 -06:00
2025-12-19 13:56:17 +01:00
2026-01-09 15:11:45 -10:00
2025-12-06 18:34:24 -08:00
2025-12-02 17:03:55 -08:00
2025-11-20 22:38:38 +05:30
2026-01-01 15:40:56 +01:00
2025-12-30 12:51:46 +02:00
2025-12-29 11:41:09 +01:00
2025-11-18 17:35:36 +01:00
2025-12-05 17:29:04 -08:00
2025-12-17 17:24:28 +01:00
2025-12-03 12:42:36 -08:00
2025-12-03 17:24:33 -08:00
2025-12-13 16:41:50 +12:00
2025-12-04 17:10:08 -08:00
2025-12-24 11:31:29 +00:00
2025-11-29 15:20:23 -06:00
2026-01-08 19:03:15 +00:00
2025-12-08 09:38:52 +09:00
2025-11-26 10:16:10 -06:00
2025-12-13 17:09:06 +12:00
2025-12-07 16:15:19 +01:00
2025-12-16 21:24:28 -05:00
2025-12-03 17:24:33 -08:00
2025-12-06 09:01:27 -08:00
2025-12-08 12:37:27 +05:30
2025-12-23 15:18:22 +00:00
2025-12-06 18:52:00 -08:00
2025-12-14 15:35:35 +12:00
2025-11-21 21:27:20 +01:00
2025-12-15 12:47:39 +01:00
2025-12-06 18:42:12 -08:00
2025-12-23 11:55:16 +01:00
2025-12-16 22:24:36 -05:00
2026-01-11 06:09:11 -10:00
2025-12-23 15:59:03 +01:00
2025-12-05 13:52:43 -08:00
2025-12-28 12:42:46 -07:00
2025-12-24 08:02:57 -05:00
2025-12-06 15:41:26 -08:00
2025-12-04 17:34:16 -08:00
2025-11-27 02:03:07 -05:00
2025-12-06 10:00:49 -08:00
2026-01-05 19:06:40 +01:00
2025-12-06 18:52:00 -08:00
2025-12-06 18:52:00 -08:00