2024-05-26 18:54:09

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH] jbd2: add missing MODULE_DESCRIPTION()

Fix the 'make W=1' warning:
WARNING: modpost: missing MODULE_DESCRIPTION() in fs/jbd2/jbd2.o

Signed-off-by: Jeff Johnson <[email protected]>
---
fs/jbd2/journal.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
index 03c4b9214f56..0d2825c131cc 100644
--- a/fs/jbd2/journal.c
+++ b/fs/jbd2/journal.c
@@ -3181,6 +3181,7 @@ static void __exit journal_exit(void)
jbd2_journal_destroy_caches();
}

+MODULE_DESCRIPTION("Generic filesystem journal-writing module");
MODULE_LICENSE("GPL");
module_init(journal_init);
module_exit(journal_exit);

---
base-commit: 416ff45264d50a983c3c0b99f0da6ee59f9acd68
change-id: 20240526-md-fs-jbd2-bd0acb6527b8



2024-06-05 08:35:59

by Jan Kara

[permalink] [raw]
Subject: Re: [PATCH] jbd2: add missing MODULE_DESCRIPTION()

On Sun 26-05-24 11:53:49, Jeff Johnson wrote:
> Fix the 'make W=1' warning:
> WARNING: modpost: missing MODULE_DESCRIPTION() in fs/jbd2/jbd2.o
>
> Signed-off-by: Jeff Johnson <[email protected]>

Thanks added to my tree.

Honza

> ---
> fs/jbd2/journal.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
> index 03c4b9214f56..0d2825c131cc 100644
> --- a/fs/jbd2/journal.c
> +++ b/fs/jbd2/journal.c
> @@ -3181,6 +3181,7 @@ static void __exit journal_exit(void)
> jbd2_journal_destroy_caches();
> }
>
> +MODULE_DESCRIPTION("Generic filesystem journal-writing module");
> MODULE_LICENSE("GPL");
> module_init(journal_init);
> module_exit(journal_exit);
>
> ---
> base-commit: 416ff45264d50a983c3c0b99f0da6ee59f9acd68
> change-id: 20240526-md-fs-jbd2-bd0acb6527b8
>
--
Jan Kara <[email protected]>
SUSE Labs, CR