2024-05-27 17:57:24

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH] fs: btrfs: add MODULE_DESCRIPTION()

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

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

diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index f05cce7c8b8d..649913e13bc0 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -2590,6 +2590,7 @@ static int __init init_btrfs_fs(void)
late_initcall(init_btrfs_fs);
module_exit(exit_btrfs_fs)

+MODULE_DESCRIPTION("B-Tree File System (BTRFS)");
MODULE_LICENSE("GPL");
MODULE_SOFTDEP("pre: crc32c");
MODULE_SOFTDEP("pre: xxhash64");

---
base-commit: 2bfcfd584ff5ccc8bb7acde19b42570414bf880b
change-id: 20240527-md-fs-btrfs-9333db7e7fea



2024-05-27 20:06:36

by David Sterba

[permalink] [raw]
Subject: Re: [PATCH] fs: btrfs: add MODULE_DESCRIPTION()

On Mon, May 27, 2024 at 10:56:59AM -0700, Jeff Johnson wrote:
> Fix the 'make W=1' warning:
> WARNING: modpost: missing MODULE_DESCRIPTION() in fs/btrfs/btrfs.o
>
> Signed-off-by: Jeff Johnson <[email protected]>

Added to for-next, thanks.