]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/hid: allow to parametrize bus/vid/pid/rdesc on the test device
authorBenjamin Tissoires <bentiss@kernel.org>
Tue, 1 Oct 2024 14:30:11 +0000 (16:30 +0200)
committerBenjamin Tissoires <bentiss@kernel.org>
Fri, 4 Oct 2024 14:10:46 +0000 (16:10 +0200)
commit72c55473fc8c82b06df79473f04c5231d51580d7
treefa0bb8551e7321f940f4b05bbe8dbce8171f6c58
parent4fb41dfde0699796b955eb94e7b8037a67b4b3a5
selftests/hid: allow to parametrize bus/vid/pid/rdesc on the test device

This will be useful to introduce variants in tests to test the
interactions between HID-BPF and some kernel modules.

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://patch.msgid.link/20241001-hid-bpf-hid-generic-v3-7-2ef1019468df@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
tools/testing/selftests/hid/hid_bpf.c
tools/testing/selftests/hid/hid_common.h
tools/testing/selftests/hid/hidraw.c