summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>2013-10-28 14:01:50 +0800
committerDavid S. Miller <davem@davemloft.net>2013-10-29 00:19:04 -0400
commitab1a2d7773b23dbbb863fd63fcf83b67cf361e34 (patch)
treee8111fa61fd7e23ae5ad2123af109e60357c1fda /net/core
parentc4e819d16c0f46fbdd3706adbd990b3b292d726c (diff)
net, iovec: fix the incorrect comment in memcpy_fromiovecend()
Signed-off-by: Zhi Yong Wu <wuzhy@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/iovec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/iovec.c b/net/core/iovec.c
index b77eeecc001..4cdb7c48dad 100644
--- a/net/core/iovec.c
+++ b/net/core/iovec.c
@@ -100,7 +100,7 @@ int memcpy_toiovecend(const struct iovec *iov, unsigned char *kdata,
EXPORT_SYMBOL(memcpy_toiovecend);
/*
- * Copy iovec from kernel. Returns -EFAULT on error.
+ * Copy iovec to kernel. Returns -EFAULT on error.
*/
int memcpy_fromiovecend(unsigned char *kdata, const struct iovec *iov,