selftests/hid: Add test for hid_bpf_hw_output_report
authorBenjamin Tissoires <bentiss@kernel.org>
Fri, 15 Mar 2024 14:44:41 +0000 (15:44 +0100)
committerBenjamin Tissoires <bentiss@kernel.org>
Wed, 10 Apr 2024 14:37:23 +0000 (16:37 +0200)
commitdb624e82c55f227b84ac9ebfa3de2f6f5fad666b
tree1438da0dcbf4dd544aff72be81546e32a51d6257
parentc8a1495947ffcab18d9a85144ab4abc570720e65
selftests/hid: Add test for hid_bpf_hw_output_report

This time we need to ensure uhid receives it, thus the new mutex and
condition.

Link: https://lore.kernel.org/r/20240315-b4-hid-bpf-new-funcs-v4-4-079c282469d3@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
tools/testing/selftests/hid/hid_bpf.c
tools/testing/selftests/hid/progs/hid.c
tools/testing/selftests/hid/progs/hid_bpf_helpers.h