From: Jeff Johnson Date: Sun, 2 Jun 2024 01:05:00 +0000 (-0700) Subject: kmemleak-test: add missing MODULE_DESCRIPTION() macro X-Git-Tag: v6.11-rc1~85^2~323 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=656fe3ee455e8d8dfa1c18292c508da26b29a39c;p=thirdparty%2Flinux.git 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/20240601-md-samples-kmemleak-v1-1-47186be7f0a8@quicinc.com Signed-off-by: Jeff Johnson Acked-by: Catalin Marinas Signed-off-by: Andrew Morton --- diff --git a/samples/kmemleak/kmemleak-test.c b/samples/kmemleak/kmemleak-test.c index 6ced5ddd99d43..f7470ed85a79f 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");