linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fs: binfmt: add missing MODULE_DESCRIPTION() macros
@ 2024-05-27 18:57 Jeff Johnson
  2024-05-28 11:40 ` Christian Brauner
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Johnson @ 2024-05-27 18:57 UTC (permalink / raw)
  To: Alexander Viro, Christian Brauner, Jan Kara, Eric Biederman, Kees Cook
  Cc: linux-fsdevel, linux-mm, linux-kernel, kernel-janitors, Jeff Johnson

Fix the 'make W=1' warnings:
WARNING: modpost: missing MODULE_DESCRIPTION() in fs/binfmt_misc.o
WARNING: modpost: missing MODULE_DESCRIPTION() in fs/binfmt_script.o

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 fs/binfmt_misc.c   | 1 +
 fs/binfmt_script.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c
index 68fa225f89e5..6a3a16f91051 100644
--- a/fs/binfmt_misc.c
+++ b/fs/binfmt_misc.c
@@ -1086,4 +1086,5 @@ static void __exit exit_misc_binfmt(void)
 
 core_initcall(init_misc_binfmt);
 module_exit(exit_misc_binfmt);
+MODULE_DESCRIPTION("Kernel support for miscellaneous binaries");
 MODULE_LICENSE("GPL");
diff --git a/fs/binfmt_script.c b/fs/binfmt_script.c
index 1b6625e95958..637daf6e4d45 100644
--- a/fs/binfmt_script.c
+++ b/fs/binfmt_script.c
@@ -155,4 +155,5 @@ static void __exit exit_script_binfmt(void)
 
 core_initcall(init_script_binfmt);
 module_exit(exit_script_binfmt);
+MODULE_DESCRIPTION("Kernel support for scripts starting with #!");
 MODULE_LICENSE("GPL");

---
base-commit: 2bfcfd584ff5ccc8bb7acde19b42570414bf880b
change-id: 20240527-md-fs-binfmt-0f35f686ac0d



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-28 11:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-27 18:57 [PATCH] fs: binfmt: add missing MODULE_DESCRIPTION() macros Jeff Johnson
2024-05-28 11:40 ` Christian Brauner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox