projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bee6c68
)
math: rational: add missing MODULE_DESCRIPTION() macro
author
Jeff Johnson
<quic_jjohnson@quicinc.com>
Tue, 2 Jul 2024 22:47:59 +0000
(15:47 -0700)
committer
Andrew Morton
<akpm@linux-foundation.org>
Fri, 5 Jul 2024 06:43:11 +0000
(23:43 -0700)
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>
lib/math/rational.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/math/rational.c
b/lib/math/rational.c
index ec59d426ea638b0f47dc2631d388c25de15183ee..d2c34e629ee1d246548dd84f276852e237e10a1b 100644
(file)
--- 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");