From: Namhyung Kim Date: Wed, 8 Sep 2010 03:48:47 +0000 (+0000) Subject: net/core: remove address space warnings on verify_iovec() X-Git-Tag: v2.6.37-rc1~147^2~498 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a700d8be733bd593ea4797dfde17aed4f35213c0;p=pandora-kernel.git net/core: remove address space warnings on verify_iovec() move_addr_to_kernel() and copy_from_user() requires their argument as __user pointer but were missing proper markups. Add it. This removes following warnings from sparse. net/core/iovec.c:44:52: warning: incorrect type in argument 1 (different address spaces) net/core/iovec.c:44:52: expected void [noderef] *uaddr net/core/iovec.c:44:52: got void *msg_name net/core/iovec.c:55:34: warning: incorrect type in argument 2 (different address spaces) net/core/iovec.c:55:34: expected void const [noderef] *from net/core/iovec.c:55:34: got struct iovec *msg_iov Signed-off-by: Namhyung Kim Signed-off-by: David S. Miller --- Reading git-diff-tree failed