]> git.hungrycats.org Git - linux/commitdiff
[IPV6]: Missing sparse annotation in addrconf.
authorStephen Hemminger <shemminger@osdl.org>
Wed, 21 Jul 2004 06:41:01 +0000 (23:41 -0700)
committerDavid S. Miller <davem@nuts.davemloft.net>
Wed, 21 Jul 2004 06:41:01 +0000 (23:41 -0700)
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@redhat.com>
net/ipv6/addrconf.c

index 3032aaadeb9894087d4b269c57d24bcc5c8a34b2..1305cf851707953cb59bf2c8b6ad1d0c8abec804 100644 (file)
@@ -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);