projects
/
compat-rdma
/
compat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d10dd5b
)
compat-3.11.h: Mask sg_copy_buffer as it defined in RHEL7.4
author
Vladimir Sokolovsky
<vlad@mellanox.com>
Mon, 4 Dec 2017 15:46:33 +0000
(17:46 +0200)
committer
Vladimir Sokolovsky
<vlad@mellanox.com>
Mon, 4 Dec 2017 15:46:33 +0000
(17:46 +0200)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
compat/compat-3.11.c
patch
|
blob
|
history
diff --git
a/compat/compat-3.11.c
b/compat/compat-3.11.c
index
f74a0f0
..
4cbfc89
100644
(file)
--- a/
compat/compat-3.11.c
+++ b/
compat/compat-3.11.c
@@
-313,6
+313,7
@@
void sg_miter_stop(struct sg_mapping_iter *miter)
* Returns the number of copied bytes.
*
**/
* Returns the number of copied bytes.
*
**/
+#define sg_copy_buffer LINUX_BACKPORT(sg_copy_buffer)
static size_t sg_copy_buffer(struct scatterlist *sgl, unsigned int nents,
void *buf, size_t buflen, off_t skip,
bool to_buffer)
static size_t sg_copy_buffer(struct scatterlist *sgl, unsigned int nents,
void *buf, size_t buflen, off_t skip,
bool to_buffer)