diff mbox series

[-next] fs/buffer: Fix some kernel-doc comments

Message ID 20220718060533.99184-1-yang.lee@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series [-next] fs/buffer: Fix some kernel-doc comments | expand

Commit Message

Yang Li July 18, 2022, 6:05 a.m. UTC
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 <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 fs/buffer.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

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
  *