Commit a5217468 authored by Jeff Johnson's avatar Jeff Johnson Committed by Shuah Khan

kunit: add missing MODULE_DESCRIPTION() macros to core modules

make allmodconfig && make W=1 C=1 reports in lib/kunit:
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/kunit/kunit.o
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/kunit/kunit-test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/kunit/kunit-example-test.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.
Signed-off-by: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
Reviewed-by: default avatarRae Moar <rmoar@google.com>
Reviewed-by: default avatarDavid Gow <davidgow@google.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 8031042c
...@@ -374,4 +374,5 @@ static struct kunit_suite example_init_test_suite = { ...@@ -374,4 +374,5 @@ static struct kunit_suite example_init_test_suite = {
*/ */
kunit_test_init_section_suites(&example_init_test_suite); kunit_test_init_section_suites(&example_init_test_suite);
MODULE_DESCRIPTION("Example KUnit test suite");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
...@@ -871,4 +871,5 @@ kunit_test_suites(&kunit_try_catch_test_suite, &kunit_resource_test_suite, ...@@ -871,4 +871,5 @@ kunit_test_suites(&kunit_try_catch_test_suite, &kunit_resource_test_suite,
&kunit_current_test_suite, &kunit_device_test_suite, &kunit_current_test_suite, &kunit_device_test_suite,
&kunit_fault_test_suite); &kunit_fault_test_suite);
MODULE_DESCRIPTION("KUnit test for core test infrastructure");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
...@@ -938,4 +938,5 @@ static void __exit kunit_exit(void) ...@@ -938,4 +938,5 @@ static void __exit kunit_exit(void)
} }
module_exit(kunit_exit); module_exit(kunit_exit);
MODULE_DESCRIPTION("Base unit test (KUnit) API");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment