summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorZhi Yong Wu <wuzhy@linux.vnet.ibm.com>2013-10-28 07:01:50 +0100
committerDavid S. Miller <davem@davemloft.net>2013-10-29 05:19:04 +0100
commitab1a2d7773b23dbbb863fd63fcf83b67cf361e34 (patch)
treee8111fa61fd7e23ae5ad2123af109e60357c1fda /net/core
parentnet, datagram: fix the incorrect comment in zerocopy_sg_from_iovec() (diff)
downloadlinux-ab1a2d7773b23dbbb863fd63fcf83b67cf361e34.tar.xz
linux-ab1a2d7773b23dbbb863fd63fcf83b67cf361e34.zip
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 b77eeecc0011..4cdb7c48dad6 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,