linux/drivers/hid/bpf
Benjamin Tissoires b7666c891c HID: bpf: fix bpf compilation with -fms-extensions
Similar to commit 835a507535 ("selftests/bpf: Add -fms-extensions to
bpf build flags") and commit 639f58a0f4 ("bpftool: Fix build warnings
due to MS extensions")

The kernel is now built with -fms-extensions, therefore
generated vmlinux.h contains types like:
struct slab {
   ..
   struct freelist_counters;
};

Use -fms-extensions and -Wno-microsoft-anon-tag flags
to build bpf programs that #include "vmlinux.h"

Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
2026-01-07 15:03:48 +01:00
..
progs HID: bpf: fix bpf compilation with -fms-extensions 2026-01-07 15:03:48 +01:00
Kconfig hid: bpf: add BPF_JIT dependency 2024-07-22 16:52:05 +02:00
Makefile HID: bpf: remove tracing HID-BPF capability 2024-06-14 11:20:20 +02:00
hid_bpf_dispatch.c HID: bpf: abort dispatch if device destroyed 2025-05-13 15:53:50 +02:00
hid_bpf_dispatch.h HID: bpf: prevent infinite recursions with hid_hw_raw_requests hooks 2024-06-27 11:00:12 +02:00
hid_bpf_struct_ops.c Revert "HID: bpf: allow write access to quirks field in struct hid_device" 2024-11-25 09:21:47 -08:00