[PATCH] block: fix kernel-doc of bio_copy_kern()
From: Manuel Ebner
Date: Mon Oct 05 2026 - 02:52:30 EST
Remove obsolete argument in kernel-doc fixing:
$ ./scripts/kernel-doc -none block/blk-map.c
Warning: block/blk-map.c:366 Excess function parameter 'op' description in 'bio_copy_kern'
Signed-off-by: Manuel Ebner <manuelebnerli@xxxxxxxxxxx>
CC: Fengnan Chang <changfengnan@xxxxxxxxxxxxx>
CC: Christoph Hellwig <hch@xxxxxx>
---
Let me know if 'op' should be explained as a variable instead.
---
block/blk-map.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/block/blk-map.c b/block/blk-map.c
index 81cba3af4..e0c2b8236 100644
--- a/block/blk-map.c
+++ b/block/blk-map.c
@@ -356,7 +356,6 @@ static void bio_copy_kern_endio_read(struct bio *bio)
* @rq: request to fill
* @data: pointer to buffer to copy
* @len: length in bytes
- * @op: bio/request operation
* @gfp_mask: allocation flags for bio and page allocation
*
* copy the kernel address into a bio suitable for io to a block
--
2.55.0