Re: [PATCH 10/10] kunit: slub: add module description
From: Venkat
Date: Mon Apr 07 2025 - 07:39:20 EST
Hello,
I am observing this warning on the mainline kernel on IBM Power9 Server. Similar warnings are reported on the linux-next as well [1] .
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/slub_kunit.o
Repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
HEAD Commit: 0af2f6be1b4281385b618cb86ad946eded089ac8.
[1]: https://lore.kernel.org/all/20250407084858.74a128d2@xxxxxxxxxxxxxxxx/
I have made below changes and it fixes the issue.
diff --git a/lib/tests/slub_kunit.c b/lib/tests/slub_kunit.c
index d47c472b0520..848b682a2d70 100644
--- a/lib/tests/slub_kunit.c
+++ b/lib/tests/slub_kunit.c
@@ -325,4 +325,5 @@ static struct kunit_suite test_suite = {
};
kunit_test_suite(test_suite);
+MODULE_DESCRIPTION("Kunit tests for slub allocator");
MODULE_LICENSE("GPL");
If its acceptable please add below tag.
Tested-by: Venkat Rao Bagalkote <venkat88@xxxxxxxxxxxxx>
Regards,
Venkat.