aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/module_attach.c
diff options
context:
space:
mode:
authorLinus Torvalds <[email protected]>2024-05-18 02:17:55 +0000
committerLinus Torvalds <[email protected]>2024-05-18 02:17:55 +0000
commit4b377b4868ef17b040065bd468668c707d2477a5 (patch)
tree2a626b575953aa5c553b5bdf44f83ded666a7552 /tools/testing/selftests/bpf/prog_tests/module_attach.c
parentMerge tag 'net-6.10-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/net... (diff)
downloadkernel-4b377b4868ef17b040065bd468668c707d2477a5.tar.gz
kernel-4b377b4868ef17b040065bd468668c707d2477a5.zip
kprobe/ftrace: fix build error due to bad function definition
Commit 1a7d0890dd4a ("kprobe/ftrace: bail out if ftrace was killed") introduced a bad K&R function definition, which we haven't accepted in a long long time. Gcc seems to let it slide, but clang notices with the appropriate error: kernel/kprobes.c:1140:24: error: a function declaration without a prototype is deprecated in all > 1140 | void kprobe_ftrace_kill() | ^ | void but this commit was apparently never in linux-next before it was sent upstream, so it didn't get the appropriate build test coverage. Fixes: 1a7d0890dd4a kprobe/ftrace: bail out if ftrace was killed Cc: Stephen Brennan <[email protected]> Cc: Masami Hiramatsu (Google) <[email protected]> Cc: Guo Ren <[email protected]> Cc: Steven Rostedt (Google) <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/module_attach.c')
0 files changed, 0 insertions, 0 deletions