From: Li Ruijian <li.richking@gmail.com>
To: Jens Axboe <axboe@kernel.dk>,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] block: drop stale @op kernel-doc from bio_copy_kern
Date: Wed, 16 Sep 2026 13:37:27 +0800 [thread overview]
Message-ID: <20260916053727.340679-1-li.richking@gmail.com> (raw)
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.
Signed-off-by: Li Ruijian <li.richking@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.43.0
reply other threads:[~2026-09-16 5:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260916053727.340679-1-li.richking@gmail.com \
--to=li.richking@gmail.com \
--cc=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®