lib/math: add missing MODULE_DESCRIPTION() macros

make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/math/prime_numbers.o
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/math/rational-test.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/r/20240531-md-lib-math-v1-1-11a3bec51ebb@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jeff Johnson 2024-05-31 22:21:38 -07:00 committed by Greg Kroah-Hartman
parent 5a71c0d118
commit 0d618e3976
2 changed files with 2 additions and 0 deletions

View File

@ -311,4 +311,5 @@ module_exit(primes_exit);
module_param_named(selftest, selftest_max, ulong, 0400); module_param_named(selftest, selftest_max, ulong, 0400);
MODULE_AUTHOR("Intel Corporation"); MODULE_AUTHOR("Intel Corporation");
MODULE_DESCRIPTION("Prime number library");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");

View File

@ -53,4 +53,5 @@ static struct kunit_suite rational_test_suite = {
kunit_test_suites(&rational_test_suite); kunit_test_suites(&rational_test_suite);
MODULE_DESCRIPTION("Rational fractions unit test");
MODULE_LICENSE("GPL v2"); MODULE_LICENSE("GPL v2");