mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ARM: kprobes: add missing MODULE_DESCRIPTION() to test module
@ 2026-05-18  1:31 Ethan Nelson-Moore
  2026-05-18  5:29 ` Ethan Nelson-Moore
  0 siblings, 1 reply; 2+ messages in thread
From: Ethan Nelson-Moore @ 2026-05-18  1:31 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel
  Cc: Ethan Nelson-Moore, Russell King, Kees Cook

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: kprobes: add missing MODULE_DESCRIPTION() to test module
  2026-05-18  1:31 [PATCH] ARM: kprobes: add missing MODULE_DESCRIPTION() to test module Ethan Nelson-Moore
@ 2026-05-18  5:29 ` Ethan Nelson-Moore
  0 siblings, 0 replies; 2+ messages in thread
From: Ethan Nelson-Moore @ 2026-05-18  5:29 UTC (permalink / raw)
  To: linux-arm-kernel, linux-kernel; +Cc: Russell King, Kees Cook, arnd

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-18  5:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-18  1:31 [PATCH] ARM: kprobes: add missing MODULE_DESCRIPTION() to test module Ethan Nelson-Moore
2026-05-18  5:29 ` Ethan Nelson-Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®