2022-05-21 20:32:02

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH 2/2] freevxfs: fix kernel-doc warnings in vxfs_subr.c

Fix the following W=1 kernel warnings:

fs/freevxfs/vxfs_subr.c:107: warning: expecting prototype for
vxfs_get_block(). Prototype was for vxfs_getblk() instead.

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

diff --git a/fs/freevxfs/vxfs_subr.c b/fs/freevxfs/vxfs_subr.c
index 0e633d2bfc7d..11ab5c97b082 100644
--- a/fs/freevxfs/vxfs_subr.c
+++ b/fs/freevxfs/vxfs_subr.c
@@ -87,7 +87,7 @@ vxfs_bread(struct inode *ip, int block)
}

/**
- * vxfs_get_block - locate buffer for given inode,block tuple
+ * vxfs_getblk - locate buffer for given inode,block tuple
* @ip: inode
* @iblock: logical block
* @bp: buffer skeleton
--
2.20.1.7.g153144c