Arnd Bergmann ecf091171b net: vrf: avoid gcc-4.6 warning
When building an allmodconfig kernel with gcc-4.6, we get a rather
odd warning:

drivers/net/vrf.c: In function ‘vrf_ip6_input_dst’:
drivers/net/vrf.c:964:3: error: initialized field with side-effects overwritten [-Werror]
drivers/net/vrf.c:964:3: error: (near initialization for ‘fl6’) [-Werror]

I have no idea what this warning is even trying to say, but it does
seem like a false positive. Reordering the initialization in to match
the structure definition gets rid of the warning, and might also avoid
whatever gcc thinks is wrong here.

Fixes: 9ff74384600a ("net: vrf: Handle ipv6 multicast and link-local addresses")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-09-15 14:22:21 -07:00
..
2017-09-08 18:26:48 -07:00
2017-09-05 12:45:03 -07:00
2017-09-07 14:03:05 -07:00
2017-09-07 14:03:05 -07:00
2017-09-07 13:51:13 -07:00
2017-09-07 12:53:14 -07:00
2017-09-07 13:51:13 -07:00
2017-09-07 13:51:13 -07:00
2017-09-08 15:47:43 -07:00
2017-09-07 14:33:13 -07:00
2017-09-05 11:08:17 -07:00
2017-09-07 12:53:14 -07:00
2017-09-07 13:51:13 -07:00
2017-09-08 15:47:43 -07:00
2017-08-29 13:46:35 +02:00
2017-09-15 14:22:21 -07:00
2017-09-07 14:43:33 -07:00
2017-09-05 11:08:17 -07:00
2017-09-08 15:47:43 -07:00
2017-09-08 15:47:43 -07:00
2017-09-07 13:51:13 -07:00
2017-09-08 16:04:50 -07:00
2017-09-07 13:51:13 -07:00
2017-09-07 13:51:13 -07:00
2017-09-07 21:11:05 -07:00
2017-09-08 18:26:48 -07:00
2017-09-05 12:45:03 -07:00
2017-09-07 21:11:05 -07:00
2017-09-05 12:45:03 -07:00
2017-09-07 10:15:40 -07:00
2017-09-07 21:11:05 -07:00
2017-09-07 13:55:16 -07:00
2017-09-07 21:11:05 -07:00
2017-09-07 10:24:21 -07:00