aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2004-07-20 23:41:01 -0700
committerDavid S. Miller <davem@nuts.davemloft.net>2004-07-20 23:41:01 -0700
commitdb3b92ffe4ff2f0037f4ab6ce36357d599d34d6c (patch)
tree8b6935668d7730aae332fb5e5ed6995305befc93 /net
parent0af90c04571223a6aa8a78c6ec8d3b72d7196019 (diff)
downloadhistory-db3b92ffe4ff2f0037f4ab6ce36357d599d34d6c.tar.gz
[IPV6]: Missing sparse annotation in addrconf.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@redhat.com>
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/addrconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 3032aaadeb9894..1305cf85170795 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -1544,7 +1544,7 @@ int addrconf_set_dstaddr(void __user *arg)
p.iph.ihl = 5;
p.iph.protocol = IPPROTO_IPV6;
p.iph.ttl = 64;
- ifr.ifr_ifru.ifru_data = (void*)&p;
+ ifr.ifr_ifru.ifru_data = (void __user *)&p;
oldfs = get_fs(); set_fs(KERNEL_DS);
err = dev->do_ioctl(dev, &ifr, SIOCADDTUNNEL);