* [PATCH] kmemleak-test: add missing MODULE_DESCRIPTION() macro
@ 2024-06-02 1:05 Jeff Johnson
2024-06-03 15:48 ` Catalin Marinas
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Johnson @ 2024-06-02 1:05 UTC (permalink / raw)
To: Catalin Marinas; +Cc: linux-kernel, kernel-janitors, Jeff Johnson
make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kmemleak/kmemleak-test.o
Add the missing invocation of the MODULE_DESCRIPTION() macro.
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
samples/kmemleak/kmemleak-test.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/samples/kmemleak/kmemleak-test.c b/samples/kmemleak/kmemleak-test.c
index 6ced5ddd99d4..f7470ed85a79 100644
--- a/samples/kmemleak/kmemleak-test.c
+++ b/samples/kmemleak/kmemleak-test.c
@@ -96,4 +96,5 @@ static void __exit kmemleak_test_exit(void)
}
module_exit(kmemleak_test_exit);
+MODULE_DESCRIPTION("Sample module to leak memory for kmemleak testing");
MODULE_LICENSE("GPL");
---
base-commit: b050496579632f86ee1ef7e7501906db579f3457
change-id: 20240601-md-samples-kmemleak-a76cf8e08e38
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-03 15:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-02 1:05 [PATCH] kmemleak-test: add missing MODULE_DESCRIPTION() macro Jeff Johnson
2024-06-03 15:48 ` Catalin Marinas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.