I'm getting the following new warnings since the big backports series. This is with GCC 4.9 and Linux 3.2:
In file included from include/asm-generic/percpu.h:6:0, from /home/blp/nicira/test-vm-linux/arch/x86/include/asm/percpu.h:576, from /home/blp/nicira/test-vm-linux/arch/x86/include/asm/current.h:5, from /home/blp/nicira/test-vm-linux/arch/x86/include/asm/processor.h:15, from /home/blp/nicira/test-vm-linux/arch/x86/include/asm/thread_info.h:22, from include/linux/thread_info.h:53, from include/linux/preempt.h:9, from include/linux/spinlock.h:50, from include/linux/mm_types.h:8, from include/linux/kmemcheck.h:4, from include/linux/skbuff.h:18, from /home/blp/nicira/ovs/_build/../datapath/linux/compat/include/linux/skbuff.h:17, from /home/blp/nicira/ovs/_build/datapath/linux/actions.c:21: /home/blp/nicira/ovs/_build/datapath/linux/actions.c:71:45: warning: ‘ovs_frag_data_storage’ defined but not used [-Wunused-variable] static DEFINE_PER_CPU(struct ovs_frag_data, ovs_frag_data_storage); ^ include/linux/percpu-defs.h:80:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’ __typeof__(type) name ^ /home/blp/nicira/ovs/_build/datapath/linux/actions.c:71:8: note: in expansion of macro ‘DEFINE_PER_CPU’ static DEFINE_PER_CPU(struct ovs_frag_data, ovs_frag_data_storage); ^ /home/blp/nicira/ovs/_build/datapath/linux/vxlan.c: In function ‘vxlan_xmit_one.constprop’: /home/blp/nicira/ovs/_build/datapath/linux/vxlan.c:1203:2: warning: ‘remote_ip.sin.sin_addr.s_addr’ may be used uninitialized in this function [-Wmaybe-uninitialized] return udp_tunnel_xmit_skb(rt, sk, skb, src, dst, tos, ^ /home/blp/nicira/ovs/_build/datapath/linux/vxlan.c:1219:19: note: ‘remote_ip.sin.sin_addr.s_addr’ was declared here union vxlan_addr remote_ip; ^ Thanks, Ben. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev