Skip to content

Commit 61c4e6c

Browse files
arndbakpm00
authored andcommitted
kunit: slub: add module description
Modules without a description now cause a warning: WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/slub_kunit.o Link: https://lkml.kernel.org/r/20250324173242.1501003-10-arnd@kernel.org Fixes: 6c6c1fc ("modpost: require a MODULE_DESCRIPTION()") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Guenetr Roeck <linux@roeck-us.net> Cc: Jeff Johnson <jeff.johnson@oss.qualcomm.com> Cc: Masahiro Yamada <masahiroy@kernel.org> Cc: Pei Xiao <xiaopei01@kylinos.cn> Cc: Rae Moar <rmoar@google.com> Cc: Stehen Rothwell <sfr@canb.auug.org.au> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 parent e2ffee9 commit 61c4e6c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/tests/slub_kunit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,4 +325,5 @@ static struct kunit_suite test_suite = {
325325
};
326326
kunit_test_suite(test_suite);
327327

328+
MODULE_DESCRIPTION("Kunit tests for slub allocator");
328329
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)