linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] slub_kunit: Add missing MODULE_DESCRIPTION() to fix modpost warning
@ 2025-04-07  7:21 Shivank Garg
  2025-04-07  8:25 ` Vlastimil Babka
  0 siblings, 1 reply; 2+ messages in thread
From: Shivank Garg @ 2025-04-07  7:21 UTC (permalink / raw)
  To: akpm, linux-kernel, linux-mm
  Cc: vbabka, kent.overstreet, kuba, harry.yoo, kees, shivankg

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@amd.com>
---
 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-07  8:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-07  7:21 [PATCH] slub_kunit: Add missing MODULE_DESCRIPTION() to fix modpost warning Shivank Garg
2025-04-07  8:25 ` Vlastimil Babka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox