ARM: kprobes: add missing MODULE_DESCRIPTION() to test module
PATCH 1/1 ARM: kprobes: add missing MODULE_DESCRIPTION() to test module
The test-kprobes module does not have a description, which causes the following warning:
WARNING: modpost: missing MODULE_DESCRIPTION() inarch/arm/probes/kprobes/test-kprobes.o
Resolve this issue by adding the missing description.
Signed-off-by Ethan Nelson-Moore <[email protected]>
--- arch/arm/probes/kprobes/test-core.c | 1 + 1 file changed, 1 insertion(+)
arch/arm/probes/kprobes/test-core.c +1 -0
@@ -1663,6 +1663,7 @@ static void __exit kprobe_test_exit(void) module_init(run_all_tests) module_exit(kprobe_test_exit) +MODULE_DESCRIPTION("Tests for the kprobes API and instruction set simulation");MODULE_LICENSE ("GPL" );#else /* !MODULE */
Signature · 1 line
2.43.0
Quoted 6 lines · Ethan Nelson-Moore
The test-kprobes module does not have a description, which causes the following warning:
WARNING: modpost: missing
MODULE_DESCRIPTION()inarch/arm/probes/kprobes/test-kprobes.o
Hi, everyone,
I just noticed that Arnd Bergmann (CC'd) already submitted a patch to fix this issue:
https://lists.infradead.org/pipermail/linux-arm-kernel/2026-May/1125867.html
You should just use his patch instead of mine.
Ethan