mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jonghwan Choi <jhbird.choi@samsung.com>
To: "'Jonghwan Choi'" <jhbird.choi@samsung.com>,
	linux-kernel@vger.kernel.org
Cc: "'David S. Miller'" <davem@davemloft.net>
Subject: [PATCH] net/core Fix wrong comments about memcpy_fromiovecend
Date: Wed, 08 May 2013 11:04:04 +0900	[thread overview]
Message-ID: <000301ce4b90$5132f170$f398d450$%choi@samsung.com> (raw)
In-Reply-To: 

"Copy iovec from kernel" should be "Copy iovec to kernel"
because copy_from_user copies data from userspace.

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
---
 net/core/iovec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/core/iovec.c b/net/core/iovec.c
index 7e7aeb0..ba93fd2 100644
--- a/net/core/iovec.c
+++ b/net/core/iovec.c
@@ -150,7 +150,7 @@ int memcpy_fromiovec(unsigned char *kdata, struct iovec
*iov, int len)
 EXPORT_SYMBOL(memcpy_fromiovec);
 
 /*
- *	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,
-- 
1.7.


      parent reply	other threads:[~2013-05-08  2:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-07 23:02 [RESEND PATCH 3.8-stable] ARM: EXYNOS: Fix crash on soft reset on EXYNOS5440 Jonghwan Choi
2013-04-25  0:16 ` [PATCH 3.8-stable] ARM: 7699/1: sched_clock: Add more notrace to prevent Jonghwan Choi
2013-04-25  0:26   ` Stephen Boyd
2013-04-25  8:02 ` [PATCH 3.8-stable] ARM: 7690/1: mm: fix CONFIG_LPAE typos Jonghwan Choi
2013-04-25  8:20   ` Paul Bolle
2013-04-25  9:01     ` Will Deacon
2013-04-30  7:52 ` [PATCH 3.8-stable] lib/int_sqrt.c: optimize square root algorithm Jonghwan Choi
2013-04-30 17:32   ` Davidlohr Bueso
2013-05-08  2:04 ` Jonghwan Choi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000301ce4b90$5132f170$f398d450$%choi@samsung.com' \
    --to=jhbird.choi@samsung.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®