Skip to content

Commit

Permalink
kunit/usercopy: Add missing MODULE_DESCRIPTION()
Browse files Browse the repository at this point in the history
Fix warning seen with:

$ make allmodconfig && make W=1 C=1 lib/usercopy_kunit.ko
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/usercopy_kunit.o

Signed-off-by: Jeff Johnson <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Reviewed-by: Rae Moar <[email protected]>
Reviewed-by: David Gow <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
  • Loading branch information
Jeff Johnson authored and shuahkh committed Jul 2, 2024
1 parent 4d6cf24 commit 67c9971
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/usercopy_kunit.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,4 +331,5 @@ static struct kunit_suite usercopy_test_suite = {

kunit_test_suites(&usercopy_test_suite);
MODULE_AUTHOR("Kees Cook <[email protected]>");
MODULE_DESCRIPTION("Kernel module for testing copy_to/from_user infrastructure");
MODULE_LICENSE("GPL");

0 comments on commit 67c9971

Please sign in to comment.