Skip to content

Commit b30e223

Browse files
Wang Hairichardweinberger
authored andcommitted
ubifs: Fix some kernel-doc warnings in tnc.c
Fixes the following W=1 kernel build warning(s): fs/ubifs/tnc.c:3479: warning: Excess function parameter 'inum' description in 'dbg_check_inode_size' fs/ubifs/tnc.c:366: warning: Excess function parameter 'node' description in 'lnc_free' @Inum in 'dbg_check_inode_size' should be @iNode, fix it. @node in 'lnc_free' is not in use, Remove it. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wang Hai <wanghai38@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
1 parent f279e5a commit b30e223

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

fs/ubifs/tnc.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ static int lnc_add_directly(struct ubifs_info *c, struct ubifs_zbranch *zbr,
360360
/**
361361
* lnc_free - remove a leaf node from the leaf node cache.
362362
* @zbr: zbranch of leaf node
363-
* @node: leaf node
364363
*/
365364
static void lnc_free(struct ubifs_zbranch *zbr)
366365
{
@@ -3466,7 +3465,7 @@ int ubifs_dirty_idx_node(struct ubifs_info *c, union ubifs_key *key, int level,
34663465
/**
34673466
* dbg_check_inode_size - check if inode size is correct.
34683467
* @c: UBIFS file-system description object
3469-
* @inum: inode number
3468+
* @inode: inode to check
34703469
* @size: inode size
34713470
*
34723471
* This function makes sure that the inode size (@size) is correct and it does

0 commit comments

Comments
 (0)