randconfig build error with next-20140109, in net/ipv6/ip6_vti.c

2 messages, 2 authors, 2014-01-09 · open the first message on its own page

randconfig build error with next-20140109, in net/ipv6/ip6_vti.c

From: Jim Davis <hidden>
Date: 2014-01-09 13:56:02

Building with the attached random configuration file,



net/ipv6/ip6_vti.c: In function ‘vti6_dev_init_gen’:
net/ipv6/ip6_vti.c:743:9: warning: assignment from incompatible
pointer type [enabled by default]
   stats = per_cpu_ptr(dev->tstats, i);
         ^
In file included from include/linux/time.h:5:0,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from net/ipv6/ip6_vti.c:18:
net/ipv6/ip6_vti.c:744:24: error: dereferencing pointer to incomplete type
   u64_stats_init(&stats->syncp);
                        ^
include/linux/seqlock.h:70:20: note: in definition of macro ‘seqcount_init’
   __seqcount_init((s), #s, &__key); \
                    ^
net/ipv6/ip6_vti.c:744:3: note: in expansion of macro ‘u64_stats_init’
   u64_stats_init(&stats->syncp);
   ^
make[2]: *** [net/ipv6/ip6_vti.o] Error 1

Re: randconfig build error with next-20140109, in net/ipv6/ip6_vti.c

From: David Miller <davem@davemloft.net>
Date: 2014-01-09 20:58:40

From: Jim Davis <redacted>
Date: Thu, 9 Jan 2014 06:55:50 -0700
Building with the attached random configuration file,
I cannot reproduce this in either the 'net' or 'net-next' tree.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help