diff options
author | Benjamin Tissoires <bentiss@kernel.org> | 2024-01-24 14:26:59 +0300 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2024-01-31 12:27:08 +0300 |
commit | 764ad6b02777d77dca3659ca490f0898aa593670 (patch) | |
tree | 0e42f1b4a2b6c57fec946137e316371f90a3e69d /arch/sparc/kernel/pci_schizo.c | |
parent | 89be8aa5b0ecb3b729c7bcff64bb2af7921fec63 (diff) | |
download | linux-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 'arch/sparc/kernel/pci_schizo.c')
0 files changed, 0 insertions, 0 deletions