Skip to contentSkip to conversation

block: drop stale @op kernel-doc from bio_copy_kern

PATCH New Li Ruijian 1 participant 1 message Sep 16 Block layer

lore
Share & tools
lore

Li Ruijian

author
#0 lore raw

PATCH 1/1 block: drop stale @op kernel-doc from bio_copy_kern

bio_copy_kern() no longer takes an explicit operation argument; the opcode is taken from the request. Remove the leftover @op field so W=1 kernel-doc stops reporting an excess function parameter.

---
 block/blk-map.c | 1 -
 1 file changed, 1 deletion(-)
block/blk-map.c +0 -1
index 9cb9605d1f62..35212355b8cd 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.43.0