Skip to content

Commit

Permalink
lib: bitmap: 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/find_bit_benchmark.o
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/cpumask_kunit.o
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_bitmap.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <[email protected]>
Signed-off-by: Yury Norov <[email protected]>
  • Loading branch information
Jeff Johnson authored and YuryNorov committed Jun 18, 2024
1 parent 5c563ee commit e334771
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/cpumask_kunit.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,5 @@ static struct kunit_suite test_cpumask_suite = {
};
kunit_test_suite(test_cpumask_suite);

MODULE_DESCRIPTION("KUnit tests for cpumask");
MODULE_LICENSE("GPL");
1 change: 1 addition & 0 deletions lib/find_bit_benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,5 @@ static int __init find_bit_test(void)
}
module_init(find_bit_test);

MODULE_DESCRIPTION("Test for find_*_bit functions");
MODULE_LICENSE("GPL");
1 change: 1 addition & 0 deletions lib/test_bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1486,4 +1486,5 @@ static void __init selftest(void)

KSTM_MODULE_LOADERS(test_bitmap);
MODULE_AUTHOR("david decotigny <[email protected]>");
MODULE_DESCRIPTION("Test cases for bitmap API");
MODULE_LICENSE("GPL");

0 comments on commit e334771

Please sign in to comment.