Message ID | 20240527-md-fs-binfmt-v1-1-f9dc1745cb67@quicinc.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | fs: binfmt: add missing MODULE_DESCRIPTION() macros | expand |
On Mon, 27 May 2024 11:57:52 -0700, Jeff Johnson wrote: > 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 > > Applied to the v6.10-rc1 branch of the vfs/vfs.git tree. Patches in the v6.10-rc1 branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: v6.10-rc1 [1/1] fs: binfmt: add missing MODULE_DESCRIPTION() macros https://git.kernel.org/vfs/vfs/c/d60efd521448
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");
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(+) --- base-commit: 2bfcfd584ff5ccc8bb7acde19b42570414bf880b change-id: 20240527-md-fs-binfmt-0f35f686ac0d