]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/hid: fix bpf_wq new API
authorBenjamin Tissoires <bentiss@kernel.org>
Tue, 23 Jul 2024 16:21:51 +0000 (18:21 +0200)
committerBenjamin Tissoires <bentiss@kernel.org>
Wed, 24 Jul 2024 16:27:21 +0000 (18:27 +0200)
commitff9fbcafbaf13346c742c0d672a22f5ac20b9d92
tree969db8dc0d41e2766a9f0a8fb6b39d0f7b1c2193
parent8031b001da700474c11d28629581480b12a0d8d4
selftests/hid: fix bpf_wq new API

Since commit f56f4d541eab ("bpf: helpers: fix bpf_wq_set_callback_impl
signature"), the API for bpf_wq changed a bit.

We need to update the selftests/hid code to reflect that or the
bpf program will not load.

Link: https://patch.msgid.link/20240723-fix-6-11-bpf-v1-1-b9d770346784@kernel.org
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
tools/testing/selftests/hid/progs/hid.c
tools/testing/selftests/hid/progs/hid_bpf_helpers.h