Skip to content

Commit c53ec7b

Browse files
Wang Haijankara
authored andcommitted
ext2: Fix some kernel-doc warnings in balloc.c
Fixes the following W=1 kernel build warning(s): fs/ext2/balloc.c:203: warning: Excess function parameter 'rb_root' description in '__rsv_window_dump' fs/ext2/balloc.c:294: warning: Excess function parameter 'rb_root' description in 'search_reserve_window' fs/ext2/balloc.c:878: warning: Excess function parameter 'rsv' description in 'alloc_new_reservation' Link: https://lore.kernel.org/r/[email protected] Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wang Hai <[email protected]> Signed-off-by: Jan Kara <[email protected]>
1 parent d1c1076 commit c53ec7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fs/ext2/balloc.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ static void group_adjust_blocks(struct super_block *sb, int group_no,
189189

190190
/**
191191
* __rsv_window_dump() -- Dump the filesystem block allocation reservation map
192-
* @rb_root: root of per-filesystem reservation rb tree
192+
* @root: root of per-filesystem reservation rb tree
193193
* @verbose: verbose mode
194194
* @fn: function which wishes to dump the reservation map
195195
*
@@ -282,7 +282,7 @@ goal_in_my_reservation(struct ext2_reserve_window *rsv, ext2_grpblk_t grp_goal,
282282

283283
/**
284284
* search_reserve_window()
285-
* @rb_root: root of reservation tree
285+
* @root: root of reservation tree
286286
* @goal: target allocation block
287287
*
288288
* Find the reserved window which includes the goal, or the previous one
@@ -859,7 +859,7 @@ static int find_next_reservable_window(
859859
*
860860
* failed: we failed to find a reservation window in this group
861861
*
862-
* @rsv: the reservation
862+
* @my_rsv: the reservation
863863
*
864864
* @grp_goal: The goal (group-relative). It is where the search for a
865865
* free reservable space should start from.

0 commit comments

Comments
 (0)