[PATCH] s390/mm: add missing MODULE_DESCRIPTION() macro

Jeff Johnson posted 1 patch 1 year, 6 months ago
arch/s390/mm/cmm.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] s390/mm: add missing MODULE_DESCRIPTION() macro
Posted by Jeff Johnson 1 year, 6 months ago
With ARCH=s390, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in arch/s390/mm/cmm.o

Add the missing invocation of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 arch/s390/mm/cmm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/s390/mm/cmm.c b/arch/s390/mm/cmm.c
index f8b13f247646..5cb5e724cde3 100644
--- a/arch/s390/mm/cmm.c
+++ b/arch/s390/mm/cmm.c
@@ -427,4 +427,5 @@ static void __exit cmm_exit(void)
 }
 module_exit(cmm_exit);
 
+MODULE_DESCRIPTION("Cooperative memory management interface");
 MODULE_LICENSE("GPL");

---
base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670
change-id: 20240615-md-s390-arch-s390-mm-48fdd1def03d
Re: [PATCH] s390/mm: add missing MODULE_DESCRIPTION() macro
Posted by Vasily Gorbik 1 year, 5 months ago
On Sat, Jun 15, 2024 at 06:23:21PM -0700, Jeff Johnson wrote:
> With ARCH=s390, make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in arch/s390/mm/cmm.o
> 
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
> 
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
>  arch/s390/mm/cmm.c | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks!