Skip to contentSkip to conversation

2.5.12(bk): IPv6 over IPv4 tunnel device initialization

DISCUSSION Alex Riesen 2 participants 2 messages May 2, 2002

lore
Share & tools
lore
#0 lore raw

Hello,
just came across a suspicious warning:

...
CC net/ipv6/ip6_input.o
CC net/ipv6/addrconf.o
CC net/ipv6/sit.o
.../net/ipv6/sit.c:67: warning: initialization makes integer from pointer without a cast
...

It looks like the order of fields in net_device has changed, as the net_device::init is not initialized now with ipip6_fb_tunnel_init, but with a 0.
Using field labels in the initialization would be a good thing, imho.

-alex

#1 lore raw

From: Alex Riesen <[email protected]>
Date: Thu, 2 May 2002 14:33:35 +0200

Hello,
just came across a suspicious warning:

...

     CC net/ipv6/ip6_input.o
     CC net/ipv6/addrconf.o
     CC net/ipv6/sit.o

.../net/ipv6/sit.c:67: warning: initialization makes integer from pointer without a cast
...

It looks like the order of fields in net_device has changed, as the net_device::init is not initialized now with ipip6_fb_tunnel_init, but with a 0.
Using field labels in the initialization would be a good thing, imho.

I've sent Linus a fix for this...