Skip to contentSkip to conversation

block: add missing kernel-doc for memcpy_from_bvec() and memcpy_to_bvec()

PATCH New Kit Dallege 1 participant 1 message Mar 15 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 block: add missing kernel-doc for memcpy_from_bvec() and memcpy_to_bvec()

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
---
 include/linux/bvec.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/bvec.h +2 -0
index 06fb60471aaf..3cf51889c6d4 100644
@@ -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.
  */
Signature · 1 line
2.53.0