slub_kunit: Add missing MODULE_DESCRIPTION() to fix modpost warning
Subsystems (2)
PATCH 1/1 slub_kunit: Add missing MODULE_DESCRIPTION() to fix modpost warning
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 <[email protected]>
--- lib/tests/slub_kunit.c | 2 ++ 1 file changed, 2 insertions(+)
lib/tests/slub_kunit.c +2 -0
@@ -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" );
Signature · 1 line
2.34.1
Quoted 6 lines · Shivank Garg
Fix a modpost warning due to the missing
MODULE_DESCRIPTION()macro inslub_kunit.c:WARNING: modpost: missing
MODULE_DESCRIPTION()inlib/tests/slub_kunit.oSigned-off-by Shivank Garg <[email protected]>
Hi, AFAICS Arnd's fixes [1] for this and other modules is in -mm already.
[1]
https://lore.kernel.org/all/[email protected]/T/#m265ef1255bed7e2ab47fbcf2242a2d98d4875417
Quoted 17 lines
--- lib/tests/slub_kunit.c | 2 ++ 1 file changed, 2 insertions(+)lib/tests/slub_kunit.c +2
-0@@ -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" );