summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeff Johnson <quic_jjohnson@quicinc.com>2024-07-02 15:47:59 -0700
committerAndrew Morton <akpm@linux-foundation.org>2024-07-04 23:43:11 -0700
commit8547d1150f0dbd1d04f397c780182fc83ec2ab16 (patch)
tree459772cca7b569df5701d4917d14675ea753e63a /lib
parentbee6c683de2f7c086963b20afffb40b03e6c264d (diff)
downloadlwn-8547d1150f0dbd1d04f397c780182fc83ec2ab16.tar.gz
lwn-8547d1150f0dbd1d04f397c780182fc83ec2ab16.zip
math: rational: add missing MODULE_DESCRIPTION() macro
With ARCH=sh, make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in lib/math/rational.o Add the missing invocation of the MODULE_DESCRIPTION() macro. Link: https://lkml.kernel.org/r/20240702-md-sh-lib-math-v1-1-93f4ac4fa8fd@quicinc.com Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/math/rational.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/math/rational.c b/lib/math/rational.c
index ec59d426ea63..d2c34e629ee1 100644
--- a/lib/math/rational.c
+++ b/lib/math/rational.c
@@ -108,4 +108,5 @@ void rational_best_approximation(
EXPORT_SYMBOL(rational_best_approximation);
+MODULE_DESCRIPTION("Rational fraction support library");
MODULE_LICENSE("GPL v2");