mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
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 <quic_jjohnson@quicinc.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
66f44583f9
commit
656fe3ee45
@ -96,4 +96,5 @@ static void __exit kmemleak_test_exit(void)
|
|||||||
}
|
}
|
||||||
module_exit(kmemleak_test_exit);
|
module_exit(kmemleak_test_exit);
|
||||||
|
|
||||||
|
MODULE_DESCRIPTION("Sample module to leak memory for kmemleak testing");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
Loading…
Reference in New Issue
Block a user