Skip to content

Commit 8547d11

Browse files
Jeff 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/[email protected] Signed-off-by: Jeff Johnson <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent bee6c68 commit 8547d11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)