diff options
author | Benjamin Tissoires <[email protected]> | 2024-06-26 15:46:33 +0200 |
---|---|---|
committer | Benjamin Tissoires <[email protected]> | 2024-06-27 11:00:49 +0200 |
commit | 62f2e1a096cd4380eca7e55fa4369d50a8536ab8 (patch) | |
tree | b4f4f85a90067429956836d040b6ba21ef7b3f4f /mm/debug.c | |
parent | 9acbb7ba4589d4715141d4e14230a828ddc95f3d (diff) |
selftests/hid: add another test for injecting an event from an event hook
Similar to test_multiply_events_wq: we receive one event and inject a
new one. But given that this time we are already in the event hook, we
can use hid_bpf_try_input_report() directly as this function will not
sleep.
Note that the injected event gets processed before the original one this
way.
Link: https://patch.msgid.link/[email protected]
Acked-by: Jiri Kosina <[email protected]>
Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions