Skip to content

Commit 6a4805b

Browse files
Jeff Johnsonkees
authored andcommitted
string: kunit: add missing MODULE_DESCRIPTION() macros
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in lib/string_kunit.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/string_helpers_kunit.o Add the missing invocation of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Kees Cook <[email protected]>
1 parent 1ab1a42 commit 6a4805b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/string_helpers_kunit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,4 +625,5 @@ static struct kunit_suite string_helpers_test_suite = {
625625

626626
kunit_test_suites(&string_helpers_test_suite);
627627

628+
MODULE_DESCRIPTION("Test cases for string helpers module");
628629
MODULE_LICENSE("Dual BSD/GPL");

lib/string_kunit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,4 +633,5 @@ static struct kunit_suite string_test_suite = {
633633

634634
kunit_test_suites(&string_test_suite);
635635

636+
MODULE_DESCRIPTION("Test cases for string functions");
636637
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)