2024-05-26 19:06:03

by Jeff Johnson

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

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

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

diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c
index 93b1077a380a..2bb8b422f434 100644
--- a/fs/isofs/inode.c
+++ b/fs/isofs/inode.c
@@ -1625,4 +1625,5 @@ static void __exit exit_iso9660_fs(void)

module_init(init_iso9660_fs)
module_exit(exit_iso9660_fs)
+MODULE_DESCRIPTION("ISO 9660 CDROM file system support");
MODULE_LICENSE("GPL");

---
base-commit: 416ff45264d50a983c3c0b99f0da6ee59f9acd68
change-id: 20240526-md-fs-isofs-4f66f48f9448



2024-06-05 08:36:23

by Jan Kara

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

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

Thanks. Added to my tree.

Honza

> ---
> fs/isofs/inode.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c
> index 93b1077a380a..2bb8b422f434 100644
> --- a/fs/isofs/inode.c
> +++ b/fs/isofs/inode.c
> @@ -1625,4 +1625,5 @@ static void __exit exit_iso9660_fs(void)
>
> module_init(init_iso9660_fs)
> module_exit(exit_iso9660_fs)
> +MODULE_DESCRIPTION("ISO 9660 CDROM file system support");
> MODULE_LICENSE("GPL");
>
> ---
> base-commit: 416ff45264d50a983c3c0b99f0da6ee59f9acd68
> change-id: 20240526-md-fs-isofs-4f66f48f9448
>
--
Jan Kara <[email protected]>
SUSE Labs, CR