aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/scatterlist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/scatterlist.h b/include/linux/scatterlist.h
index 50a8486c524b..505d0481df1e 100644
--- a/include/linux/scatterlist.h
+++ b/include/linux/scatterlist.h
@@ -266,12 +266,12 @@ int sg_alloc_table_from_pages(struct sg_table *sgt,
266 gfp_t gfp_mask); 266 gfp_t gfp_mask);
267 267
268size_t sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents, 268size_t sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents,
269 void *buf, size_t buflen); 269 const void *buf, size_t buflen);
270size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents, 270size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents,
271 void *buf, size_t buflen); 271 void *buf, size_t buflen);
272 272
273size_t sg_pcopy_from_buffer(struct scatterlist *sgl, unsigned int nents, 273size_t sg_pcopy_from_buffer(struct scatterlist *sgl, unsigned int nents,
274 void *buf, size_t buflen, off_t skip); 274 const void *buf, size_t buflen, off_t skip);
275size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents, 275size_t sg_pcopy_to_buffer(struct scatterlist *sgl, unsigned int nents,
276 void *buf, size_t buflen, off_t skip); 276 void *buf, size_t buflen, off_t skip);
277 277