linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] ext4: Fix ext4_mb_clear_bb() kernel-doc comment
@ 2022-03-01  9:21 Yang Li
  2022-03-03 15:14 ` Theodore Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2022-03-01  9:21 UTC (permalink / raw)
  To: tytso; +Cc: adilger.kernel, linux-ext4, linux-kernel, Yang Li, Abaci Robot

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'

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 fs/ext4/mballoc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 5f0bc6d0aabe..3546fa27d003 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -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
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] ext4: Fix ext4_mb_clear_bb() kernel-doc comment
  2022-03-01  9:21 [PATCH -next] ext4: Fix ext4_mb_clear_bb() kernel-doc comment Yang Li
@ 2022-03-03 15:14 ` Theodore Ts'o
  0 siblings, 0 replies; 2+ messages in thread
From: Theodore Ts'o @ 2022-03-03 15:14 UTC (permalink / raw)
  To: Yang Li
  Cc: Theodore Ts'o, adilger.kernel, linux-kernel, linux-ext4, Abaci Robot

On Tue, 1 Mar 2022 17:21:36 +0800, Yang Li wrote:
> 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,
-- 
Theodore Ts'o <tytso@mit.edu>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-03 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01  9:21 [PATCH -next] ext4: Fix ext4_mb_clear_bb() kernel-doc comment Yang Li
2022-03-03 15:14 ` Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).