summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/hid/progs/hid.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/hid/progs/hid.c')
-rw-r--r--tools/testing/selftests/hid/progs/hid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/hid/progs/hid.c b/tools/testing/selftests/hid/progs/hid.c
index ee9bbbcf751b..5ecc845ef792 100644
--- a/tools/testing/selftests/hid/progs/hid.c
+++ b/tools/testing/selftests/hid/progs/hid.c
@@ -455,7 +455,7 @@ struct {
__type(value, struct elem);
} hmap SEC(".maps");
-static int wq_cb_sleepable(void *map, int *key, struct bpf_wq *work)
+static int wq_cb_sleepable(void *map, int *key, void *work)
{
__u8 buf[9] = {2, 3, 4, 5, 6, 7, 8, 9, 10};
struct hid_bpf_ctx *hid_ctx;