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

Kit Dallege posted 1 patch 3 weeks, 1 day ago
include/linux/bvec.h | 2 ++
1 file changed, 2 insertions(+)
[PATCH v2] block: add missing kernel-doc for memcpy_from_bvec() and memcpy_to_bvec()
Posted by Kit Dallege 3 weeks, 1 day ago
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