Skip to contentSkip to conversation

block: Fix kerneldoc of bio_copy_kern()

PATCH New Thomas Huth 1 participant 1 message Sep 16 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: Fix kerneldoc of bio_copy_kern()

The "op" parameter has been removed a while ago, so now there is this warning when running "make htmldocs":

 WARNING: .../linux/block/blk-map.c:366 Excess function parameter 'op'
  description in 'bio_copy_kern'

Remove it to silence the warning.

Fixes 05ce4c584cc6b ("block: use bio_alloc_bioset for passthru IO by default")
---
 block/blk-map.c | 1 -
 1 file changed, 1 deletion(-)
block/blk-map.c +0 -1
index 9cb9605d1f62d..35212355b8cda 100644
@@ -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
Signature · 1 line
2.55.0