[PATCH] ARM: kprobes: add missing MODULE_DESCRIPTION() to test module

Ethan Nelson-Moore posted 1 patch 1 week ago
arch/arm/probes/kprobes/test-core.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] ARM: kprobes: add missing MODULE_DESCRIPTION() to test module
Posted by Ethan Nelson-Moore 1 week ago
The test-kprobes module does not have a description, which causes the
following warning:

WARNING: modpost: missing MODULE_DESCRIPTION() in
arch/arm/probes/kprobes/test-kprobes.o

Resolve this issue by adding the missing description.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
---
 arch/arm/probes/kprobes/test-core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/probes/kprobes/test-core.c b/arch/arm/probes/kprobes/test-core.c
index 7a2baa135f0f..8da2be47b13b 100644
--- a/arch/arm/probes/kprobes/test-core.c
+++ b/arch/arm/probes/kprobes/test-core.c
@@ -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 */
-- 
2.43.0
Re: [PATCH] ARM: kprobes: add missing MODULE_DESCRIPTION() to test module
Posted by Ethan Nelson-Moore 6 days, 23 hours ago
On Sun, May 17, 2026 at 6:31 PM Ethan Nelson-Moore
<enelsonmoore@gmail.com> wrote:
>
> The test-kprobes module does not have a description, which causes the
> following warning:
>
> WARNING: modpost: missing MODULE_DESCRIPTION() in
> arch/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