diff mbox series

[01/10] exportfs: add module description

Message ID 20250324173242.1501003-1-arnd@kernel.org (mailing list archive)
State New
Headers show
Series [01/10] exportfs: add module description | expand

Commit Message

Arnd Bergmann March 24, 2025, 5:32 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de>

Every loadable module should have a description, to avoid a warning such as:

WARNING: modpost: missing MODULE_DESCRIPTION() in fs/exportfs/exportfs.o

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 fs/exportfs/expfs.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Christian Brauner March 25, 2025, 2:58 p.m. UTC | #1
On Mon, 24 Mar 2025 18:32:26 +0100, Arnd Bergmann wrote:
> Every loadable module should have a description, to avoid a warning such as:
> 
> WARNING: modpost: missing MODULE_DESCRIPTION() in fs/exportfs/exportfs.o
> 
> 

I've removed mentioning of NFS from the module description because
exportfs is now used for a lot more.

---

Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Patches in the vfs.fixes 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: vfs.fixes

[01/10] exportfs: add module description
        https://git.kernel.org/vfs/vfs/c/e3206c4aa06f
diff mbox series

Patch

diff --git a/fs/exportfs/expfs.c b/fs/exportfs/expfs.c
index b5845c4846b8..8a5f42c620af 100644
--- a/fs/exportfs/expfs.c
+++ b/fs/exportfs/expfs.c
@@ -608,4 +608,5 @@  struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
 }
 EXPORT_SYMBOL_GPL(exportfs_decode_fh);
 
+MODULE_DESCRIPTION("Code mapping from inodes to NFS file handles");
 MODULE_LICENSE("GPL");