]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/hid: add an infinite loop test for hid_bpf_try_input_report
authorBenjamin Tissoires <bentiss@kernel.org>
Wed, 26 Jun 2024 13:46:34 +0000 (15:46 +0200)
committerBenjamin Tissoires <bentiss@kernel.org>
Thu, 27 Jun 2024 09:00:49 +0000 (11:00 +0200)
commitd3e15189bfd4d0a9d3a7ad8bd0e6ebb1c0419f93
tree45b1e0d1caf75a76d8681dfe160e53723a1f5924
parent62f2e1a096cd4380eca7e55fa4369d50a8536ab8
selftests/hid: add an infinite loop test for hid_bpf_try_input_report

We don't want this call to allow an infinite loop in HID-BPF, so let's
have some tests.

Link: https://patch.msgid.link/20240626-hid_hw_req_bpf-v2-13-cfd60fb6c79f@kernel.org
Acked-by: Jiri Kosina <jkosina@suse.com>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
tools/testing/selftests/hid/hid_bpf.c
tools/testing/selftests/hid/progs/hid.c