aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tunnel4.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-09-08 03:48:47 +0000
committerDavid S. Miller <davem@davemloft.net>2010-09-09 15:02:38 -0700
commita700d8be733bd593ea4797dfde17aed4f35213c0 (patch)
tree03686d890db4825472a3ae10ff49394994723d3f /net/ipv4/tunnel4.c
parentMerge branch 'for-davem' of git://oss.oracle.com/git/agrover/linux-2.6 (diff)
downloadlinux-dev-a700d8be733bd593ea4797dfde17aed4f35213c0.tar.xz
linux-dev-a700d8be733bd593ea4797dfde17aed4f35213c0.zip
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] <asn:1>*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] <asn:1>*from net/core/iovec.c:55:34: got struct iovec *msg_iov Signed-off-by: Namhyung Kim <namhyung@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tunnel4.c')
0 files changed, 0 insertions, 0 deletions