Skip to contentSkip to conversation

ext4: Fix ext4_mb_clear_bb() kernel-doc comment

PATCH Applied Yang Li 2 participants 2 messages Mar 1, 2022 – Mar 3, 2022 ext4 file system

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 ext4: Fix ext4_mb_clear_bb() kernel-doc comment

Remove the excess description of @bh in ext4_mb_clear_bb() kernel-doc comment to remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'.

fs/ext4/mballoc.c:5895: warning: Excess function parameter 'bh' description in 'ext4_mb_clear_bb'

---
 fs/ext4/mballoc.c | 1 -
 1 file changed, 1 deletion(-)
fs/ext4/mballoc.c +0 -1
index 5f0bc6d0aabe..3546fa27d003 100644
@@ -5884,7 +5884,6 @@ static void ext4_free_blocks_simple(struct inode *inode, ext4_fsblk_t block,
  *			Used by ext4_free_blocks()
  * @handle:		handle for this transaction
  * @inode:		inode
- * @bh:			optional buffer of the block to be freed
  * @block:		starting physical block to be freed
  * @count:		number of blocks to be freed
  * @flags:		flags used by ext4_free_blocks
Signature · 1 line
2.20.1.7.g153144c
maintainer Applied
#1 lore raw
Quoted 8 lines · Yang Li

Remove the excess description of @bh in ext4_mb_clear_bb() kernel-doc comment to remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'.

fs/ext4/mballoc.c:5895: warning: Excess function parameter 'bh' description in 'ext4_mb_clear_bb'

[...]

Applied, thanks!

[1/1] ext4: Fix ext4_mb_clear_bb() kernel-doc comment

      commit: fd9b6fad667c7516a130cf0f3caddcb965710c12

Best regards,

Signature · 1 line
Theodore Ts'o <[email protected]>