aboutsummaryrefslogtreecommitdiffstats
path: root/net/nsh/nsh.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <[email protected]>2024-01-24 11:26:59 +0000
committerBenjamin Tissoires <[email protected]>2024-01-31 09:27:08 +0000
commit764ad6b02777d77dca3659ca490f0898aa593670 (patch)
tree0e42f1b4a2b6c57fec946137e316371f90a3e69d /net/nsh/nsh.c
parentHID: bpf: actually free hdev memory after attaching a HID-BPF program (diff)
downloadkernel-764ad6b02777d77dca3659ca490f0898aa593670.tar.gz
kernel-764ad6b02777d77dca3659ca490f0898aa593670.zip
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/[email protected] Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions