Skip to content

Commit

Permalink
kunit/fortify: 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/memcpy_kunit.o
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/fortify_kunit.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jeff Johnson <[email protected]>
Cc: Kees Cook <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
Jeff Johnson authored and akpm00 committed Jun 25, 2024
1 parent 2f183c6 commit e471831
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/fortify_kunit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1096,4 +1096,5 @@ static struct kunit_suite fortify_test_suite = {

kunit_test_suite(fortify_test_suite);

MODULE_DESCRIPTION("Runtime test cases for CONFIG_FORTIFY_SOURCE");
MODULE_LICENSE("GPL");
1 change: 1 addition & 0 deletions lib/memcpy_kunit.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,4 +510,5 @@ static struct kunit_suite memcpy_test_suite = {

kunit_test_suite(memcpy_test_suite);

MODULE_DESCRIPTION("test cases for memcpy(), memmove(), and memset()");
MODULE_LICENSE("GPL");

0 comments on commit e471831

Please sign in to comment.