summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBenjamin Tissoires <bentiss@kernel.org>2024-11-28 14:27:16 +0100
committerBenjamin Tissoires <bentiss@kernel.org>2024-11-29 15:27:04 +0100
commit8d355b56f29533e0b0db0d9a2de8bdc05ab27375 (patch)
treeac033277908c1d3a4fcffc8c4897520f2871fa26 /include
parent0b1b0c112437d7547a6588009e08face31b22c47 (diff)
downloadlinux-8d355b56f29533e0b0db0d9a2de8bdc05ab27375.tar.gz
linux-8d355b56f29533e0b0db0d9a2de8bdc05ab27375.tar.bz2
linux-8d355b56f29533e0b0db0d9a2de8bdc05ab27375.zip
selftests/hid: fix kfunc inclusions with newer bpftool
bpftool now embeds the kfuncs definitions directly in the generated vmlinux.h This is great, but because the selftests dir might be compiled with HID_BPF disabled, we have no guarantees to be able to compile the sources with the generated kfuncs. If we have the kfuncs, because we have the `__not_used` hack, the newly defined kfuncs do not match the ones from vmlinux.h and things go wrong. Prevent vmlinux.h to define its kfuncs and also add the missing `__weak` symbols for our custom kfuncs definitions Link: https://patch.msgid.link/20241128-fix-new-bpftool-v1-1-c9abdf94a719@kernel.org Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions