public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
From: Kit Dallege <xaum.io@gmail.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2] block: add missing kernel-doc for memcpy_from_bvec() and memcpy_to_bvec()
Date: Sun, 15 Mar 2026 18:08:51 +0100	[thread overview]
Message-ID: <20260315170851.65489-1-xaum.io@gmail.com> (raw)

Document the @to parameter for memcpy_from_bvec() and the @from
parameter for memcpy_to_bvec() that were missing from the kernel-doc
comments.

Assisted-by: Claude:claude-opus-4-6
Signed-off-by: Kit Dallege <xaum.io@gmail.com>
---
 include/linux/bvec.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/bvec.h b/include/linux/bvec.h
index 06fb60471aaf..3cf51889c6d4 100644
--- a/include/linux/bvec.h
+++ b/include/linux/bvec.h
@@ -256,6 +256,7 @@ static inline void *bvec_kmap_local(struct bio_vec *bvec)
 
 /**
  * memcpy_from_bvec - copy data from a bvec
+ * @to: destination buffer
  * @bvec: bvec to copy from
  *
  * Must be called on single-page bvecs only.
@@ -268,6 +269,7 @@ static inline void memcpy_from_bvec(char *to, struct bio_vec *bvec)
 /**
  * memcpy_to_bvec - copy data to a bvec
  * @bvec: bvec to copy to
+ * @from: source buffer
  *
  * Must be called on single-page bvecs only.
  */
-- 
2.53.0


                 reply	other threads:[~2026-03-15 17:09 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=20260315170851.65489-1-xaum.io@gmail.com \
    --to=xaum.io@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