Skip to content

Commit 8547d11

Browse files
jeff-t-johnsonakpm00
authored andcommitted
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>
1 parent bee6c68 commit 8547d11

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/math/rational.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,5 @@ void rational_best_approximation(
108108

109109
EXPORT_SYMBOL(rational_best_approximation);
110110

111+
MODULE_DESCRIPTION("Rational fraction support library");
111112
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)