summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBenjamin Tissoires <bentiss@kernel.org>2024-01-24 14:26:59 +0300
committerBenjamin Tissoires <bentiss@kernel.org>2024-01-31 12:27:08 +0300
commit764ad6b02777d77dca3659ca490f0898aa593670 (patch)
tree0e42f1b4a2b6c57fec946137e316371f90a3e69d /tools
parent89be8aa5b0ecb3b729c7bcff64bb2af7921fec63 (diff)
downloadlinux-764ad6b02777d77dca3659ca490f0898aa593670.tar.xz
HID: bpf: use __bpf_kfunc instead of noinline
Follow the docs at Documentation/bpf/kfuncs.rst: - declare the function with `__bpf_kfunc` - disables missing prototype warnings, which allows to remove them from include/linux/hid-bpf.h Removing the prototypes is not an issue because we currently have to redeclare them when writing the BPF program. They will eventually be generated by bpftool directly AFAIU. Link: https://lore.kernel.org/r/20240124-b4-hid-bpf-fixes-v2-3-052520b1e5e6@kernel.org Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions