2022-06-10 10:31:21

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] freevxfs: Describe 'mapping' parameter of vxfs_get_page()

Remove one warning found by running scripts/kernel-doc, which is caused
by using 'make W=1':

fs/freevxfs/vxfs_subr.c:45: warning: Function parameter or member 'mapping' not described in 'vxfs_get_page'.

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
fs/freevxfs/vxfs_subr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/freevxfs/vxfs_subr.c b/fs/freevxfs/vxfs_subr.c
index c99282df7761..e2e337b415b3 100644
--- a/fs/freevxfs/vxfs_subr.c
+++ b/fs/freevxfs/vxfs_subr.c
@@ -30,8 +30,8 @@ vxfs_put_page(struct page *pp)
}

/**
- * vxfs_get_page - read a page into memory.
- * @ip: inode to read from
+ * vxfs_get_page() - read a page into memory.
+ * @mapping: logical to physical mapping to use
* @n: page number
*
* Description:
--
2.20.1.7.g153144c