mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Manuel Ebner <manuelebnerli@mailbox.org>
To: Jens Axboe <axboe@kernel.dk>
Cc: Manuel Ebner <manuelebnerli@mailbox.org>,
	Fengnan Chang <changfengnan@bytedance.com>,
	Christoph Hellwig <hch@lst.de>,
	linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] block: fix kernel-doc of bio_copy_kern()
Date: Mon,  5 Oct 2026 08:48:49 +0200	[thread overview]
Message-ID: <20261005064848.2879898-3-manuelebnerli@mailbox.org> (raw)

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@mailbox.org>
CC: Fengnan Chang <changfengnan@bytedance.com>
CC: Christoph Hellwig <hch@lst.de>
---
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


             reply	other threads:[~2026-10-05  6:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-05  6:48 Manuel Ebner [this message]
2026-10-05  8:42 ` Christoph Hellwig

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=20261005064848.2879898-3-manuelebnerli@mailbox.org \
    --to=manuelebnerli@mailbox.org \
    --cc=axboe@kernel.dk \
    --cc=changfengnan@bytedance.com \
    --cc=hch@lst.de \
    --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®