]> www.infradead.org Git - nvme.git/commitdiff
kunit: slub: add module description
authorArnd Bergmann <arnd@arndb.de>
Mon, 24 Mar 2025 17:32:35 +0000 (18:32 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 12 Apr 2025 00:32:39 +0000 (17:32 -0700)
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: 6c6c1fc09de3 ("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>
lib/tests/slub_kunit.c

index d47c472b05201bd0850d440dd2d185460de8ec9f..848b682a2d70edfd8ffc4828ba43910eb0c07a85 100644 (file)
@@ -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");