aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnson <[email protected]>2024-06-02 01:05:00 +0000
committerAndrew Morton <[email protected]>2024-07-04 02:30:04 +0000
commit656fe3ee455e8d8dfa1c18292c508da26b29a39c (patch)
tree82f73c89d9803934f26d2d96db0e86a5f7e0e60c
parentmm: shmem: add mTHP counters for anonymous shmem (diff)
downloadkernel-656fe3ee455e8d8dfa1c18292c508da26b29a39c.tar.gz
kernel-656fe3ee455e8d8dfa1c18292c508da26b29a39c.zip
kmemleak-test: add missing MODULE_DESCRIPTION() macro
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. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Jeff Johnson <[email protected]> Acked-by: Catalin Marinas <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
-rw-r--r--samples/kmemleak/kmemleak-test.c1
1 files changed, 1 insertions, 0 deletions
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");