|
@@ -263,7 +263,7 @@ int __sg_alloc_table(struct sg_table *, unsigned int, unsigned int,
|
|
|
int sg_alloc_table(struct sg_table *, unsigned int, gfp_t);
|
|
|
int sg_alloc_table_from_pages(struct sg_table *sgt,
|
|
|
struct page **pages, unsigned int n_pages,
|
|
|
- unsigned long offset, unsigned long size,
|
|
|
+ unsigned int offset, unsigned long size,
|
|
|
gfp_t gfp_mask);
|
|
|
|
|
|
size_t sg_copy_buffer(struct scatterlist *sgl, unsigned int nents, void *buf,
|