Skip to contentSkip to conversation

freevxfs: fix kernel-doc warning in vxfs_super.c

PATCH New Jiapeng Chong 1 participant 2 messages May 20, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 freevxfs: fix kernel-doc warning in vxfs_super.c

Fix the following W=1 kernel warnings:

fs/freevxfs/vxfs_super.c:184: warning: expecting prototype for vxfs_read_super(). Prototype was for vxfs_fill_super() instead.

---
 fs/freevxfs/vxfs_super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/freevxfs/vxfs_super.c +1 -1
index c3b82f716f9a..310d73e254df 100644
@@ -165,7 +165,7 @@ static int vxfs_try_sb_magic(struct super_block *sbp, int silent,
 }
 
 /**
- * vxfs_read_super - read superblock into memory and initialize filesystem
+ * vxfs_fill_super - read superblock into memory and initialize filesystem
  * @sbp:		VFS superblock (to fill)
  * @dp:			fs private mount data
  * @silent:		do not complain loudly when sth is wrong
Signature · 1 line
2.20.1.7.g153144c
#1 lore raw

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.

---
 fs/freevxfs/vxfs_subr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/freevxfs/vxfs_subr.c +1 -1
index 0e633d2bfc7d..11ab5c97b082 100644
@@ -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
Signature · 1 line
2.20.1.7.g153144c