Thread (15 messages) 15 messages, 7 authors, 2016-06-15

Re: linux-next: build failure after merge of the akpm-current tree

From: Paul Bolle <hidden>
Date: 2016-06-15 21:12:46
Also in: lkml

Hi Josh,

On wo, 2016-06-15 at 09:03 -0500, Josh Poimboeuf wrote:
I agree it looks like a false positive, though the code is a bit
convoluted, so I'm not surprised that gcc might get confused.
Agree.
How about initializing opt to 0?
I'm unconvinced. Especially since this only shows up in 64 bits builds.
quoted hunk ↗ jump to hunk
--- a/net/netfilter/ipvs/ip_vs_sync.c
+++ b/net/netfilter/ipvs/ip_vs_sync.c
 static inline int ip_vs_proc_sync_conn(struct netns_ipvs *ipvs, __u8
-	struct ip_vs_sync_conn_options opt;
+	struct ip_vs_sync_conn_options opt = {0};
You forgot to append
                                                  /* I give up */

here. More common would be to use
                                                  /* silence GCC */
Thanks,


Paul Bolle
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help