Skip to content

Commit

Permalink
string: kunit: add missing MODULE_DESCRIPTION() macros
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Jeff Johnson authored and kees committed Jun 28, 2024
1 parent 1ab1a42 commit 6a4805b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/string_helpers_kunit.c
Original file line number Diff line number Diff line change
Expand Up @@ -625,4 +625,5 @@ static struct kunit_suite string_helpers_test_suite = {

kunit_test_suites(&string_helpers_test_suite);

MODULE_DESCRIPTION("Test cases for string helpers module");
MODULE_LICENSE("Dual BSD/GPL");
1 change: 1 addition & 0 deletions lib/string_kunit.c
Original file line number Diff line number Diff line change
Expand Up @@ -633,4 +633,5 @@ static struct kunit_suite string_test_suite = {

kunit_test_suites(&string_test_suite);

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

0 comments on commit 6a4805b

Please sign in to comment.