[PATCH v2] block: add missing kernel-doc for memcpy_from_bvec() and memcpy_to_bvec()

From: Kit Dallege

Date: Sun Mar 15 2026 - 13:10:10 EST


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@xxxxxxxxx>
---
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