[PATCH] slub_kunit: Add missing MODULE_DESCRIPTION() to fix modpost warning
From: Shivank Garg
Date: Mon Apr 07 2025 - 03:34:16 EST
Fix a modpost warning due to the missing MODULE_DESCRIPTION() macro in
slub_kunit.c:
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/slub_kunit.o
Signed-off-by: Shivank Garg <shivankg@xxxxxxx>
---
lib/tests/slub_kunit.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/tests/slub_kunit.c b/lib/tests/slub_kunit.c
index d47c472b0520..f1bc30be6503 100644
--- a/lib/tests/slub_kunit.c
+++ b/lib/tests/slub_kunit.c
@@ -323,6 +323,8 @@ static struct kunit_suite test_suite = {
.init = test_init,
.test_cases = test_cases,
};
+
kunit_test_suite(test_suite);
+MODULE_DESCRIPTION("KUnit tests for SLUB allocator");
MODULE_LICENSE("GPL");
--
2.34.1