Linux block layer
 help / color / mirror / Atom feed
* [PATCH] block: Drop the stale @op line from the bio_copy_kern() kernel-doc
@ 2026-09-05 10:16 Karl Mehltretter
  0 siblings, 0 replies; only message in thread
From: Karl Mehltretter @ 2026-09-05 10:16 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Karl Mehltretter, linux-block, Fengnan Chang

bio_copy_kern() lost its op argument in commit 05ce4c584cc6 ("block:
use bio_alloc_bioset for passthru IO by default"), but the kernel-doc
still describes it and kernel-doc warns about the excess parameter on
every docs build.

Drop the line.

Fixes: 05ce4c584cc6 ("block: use bio_alloc_bioset for passthru IO by default")
Assisted-by: LLM
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
---
 block/blk-map.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/block/blk-map.c b/block/blk-map.c
index 9cb9605d1f62..35212355b8cd 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.53.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-05 10:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 10:16 [PATCH] block: Drop the stale @op line from the bio_copy_kern() kernel-doc Karl Mehltretter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox