2022-07-18 06:08:58

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] fs/buffer: Fix some kernel-doc comments

Remove warnings found by running scripts/kernel-doc, which is caused by
using 'make W=1'.

fs/buffer.c:2756: warning: Excess function parameter 'op_flags' description in 'll_rw_block'
fs/buffer.c:2756: warning: Excess function parameter 'op' description in 'll_rw_block'
fs/buffer.c:2756: warning: Function parameter or member 'opf' not described in 'll_rw_block'

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
fs/buffer.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/fs/buffer.c b/fs/buffer.c
index b98fbc80b44c..b750d95ef6f3 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -2728,8 +2728,7 @@ EXPORT_SYMBOL(submit_bh);

/**
* ll_rw_block: low-level access to block devices (DEPRECATED)
- * @op: whether to %READ or %WRITE
- * @op_flags: req_flag_bits
+ * @opf: operation and flags for bio
* @nr: number of &struct buffer_heads in the array
* @bhs: array of pointers to &struct buffer_head
*
--
2.20.1.7.g153144c