summaryrefslogtreecommitdiff
path: root/samples/kprobes/kretprobe_example.c
diff options
context:
space:
mode:
authorJeff Johnson <quic_jjohnson@quicinc.com>2024-06-12 02:44:27 +0300
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>2024-06-12 02:44:27 +0300
commit1b3c86eeea7594eeeb49b8d1c1db0a40f0ce7920 (patch)
tree9b2289fc635947dba91db3e8271279fdd51b5fc9 /samples/kprobes/kretprobe_example.c
parentdf216f57522c2ebe6e301f873195420de7992aa8 (diff)
downloadlinux-1b3c86eeea7594eeeb49b8d1c1db0a40f0ce7920.tar.xz
samples: kprobes: add missing MODULE_DESCRIPTION() macros
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kprobes/kprobe_example.o WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kprobes/kretprobe_example.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Link: https://lore.kernel.org/all/20240601-md-samples-kprobes-v1-1-b6a772353893@quicinc.com/ Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'samples/kprobes/kretprobe_example.c')
-rw-r--r--samples/kprobes/kretprobe_example.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/kprobes/kretprobe_example.c b/samples/kprobes/kretprobe_example.c
index ed79fd3d48fb..65d6dcafd742 100644
--- a/samples/kprobes/kretprobe_example.c
+++ b/samples/kprobes/kretprobe_example.c
@@ -104,4 +104,5 @@ static void __exit kretprobe_exit(void)
module_init(kretprobe_init)
module_exit(kretprobe_exit)
+MODULE_DESCRIPTION("sample kernel module showing the use of return probes");
MODULE_LICENSE("GPL");