lib: bitmap: add missing MODULE_DESCRIPTION() macros
Subsystems (3)
PATCH 1/1 lib: bitmap: add missing MODULE_DESCRIPTION() macros
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.
---
This is the subset of "missing MODULE_DESCRIPTION()" which fall under the scope of the BITMAP API entry in the MAINTAINERS file.
--- lib/cpumask_kunit.c | 1 + lib/find_bit_benchmark.c | 1 + lib/test_bitmap.c | 1 + 3 files changed, 3 insertions(+)
lib/cpumask_kunit.c +1 -0
@@ -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" );
lib/find_bit_benchmark.c +1 -0
@@ -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" );
lib/test_bitmap.c +1 -0
@@ -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" );
---
base-commit: 4a4be1ad3a6efea16c56615f31117590fd881358
change-id: 20240531-lib-bitmap-7ce67db2d173
Quoted 49 lines · Jeff Johnson
make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missingMODULE_DESCRIPTION()inlib/find_bit_benchmark.o
WARNING: modpost: missingMODULE_DESCRIPTION()inlib/cpumask_kunit.o
WARNING: modpost: missingMODULE_DESCRIPTION()inlib/test_bitmap.oAdd the missing invocations of the
MODULE_DESCRIPTION()macro.Signed-off-by Jeff Johnson <[email protected]>---
This is the subset of "missingMODULE_DESCRIPTION()" which fall under the scope of the BITMAP API entry in theMAINTAINERSfile.--- lib/cpumask_kunit.c | 1 + lib/find_bit_benchmark.c | 1 + lib/test_bitmap.c | 1 + 3 files changed, 3 insertions(+)lib/cpumask_kunit.c +1
-0@@ -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" );lib/find_bit_benchmark.c +1
-0@@ -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" );lib/test_bitmap.c +1
-1@@ -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" ); ---
Quoted 2 lines
base-commit:
4a4be1ad3a6efea16c56615f31117590fd881358
change-id: 20240531-lib-bitmap-7ce67db2d173
Applied in bitmap-for-next.
Thansk,
Yury
Quoted 49 lines · Yury Norov
Quoted 48 lines · Jeff Johnson
make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missingMODULE_DESCRIPTION()inlib/find_bit_benchmark.o
WARNING: modpost: missingMODULE_DESCRIPTION()inlib/cpumask_kunit.o
WARNING: modpost: missingMODULE_DESCRIPTION()inlib/test_bitmap.oAdd the missing invocations of the
MODULE_DESCRIPTION()macro.Signed-off-by Jeff Johnson <[email protected]>---
This is the subset of "missingMODULE_DESCRIPTION()" which fall under the scope of the BITMAP API entry in theMAINTAINERSfile.--- lib/cpumask_kunit.c | 1 + lib/find_bit_benchmark.c | 1 + lib/test_bitmap.c | 1 + 3 files changed, 3 insertions(+)lib/cpumask_kunit.c +1
-0@@ -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" );lib/find_bit_benchmark.c +1
-0@@ -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" );lib/test_bitmap.c +1
-0@@ -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" );
Quoted 5 lines
Quoted 3 lines
---
base-commit:4a4be1ad3a6efea16c56615f31117590fd881358
change-id: 20240531-lib-bitmap-7ce67db2d173Applied in bitmap-for-next.
Hi,
I see this landed in linux-next, but is not currently in Linus' tree for 6.11. Will you be able to have this pulled during the merge window?
I'm trying to eradicate all of these warnings before 6.11 rc-final.
Thanks!
/jeff