aboutsummaryrefslogtreecommitdiffstats
path: root/block/mq-deadline.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-09-12 22:10:53 +0200
committerDavid S. Miller <davem@davemloft.net>2017-09-15 14:22:21 -0700
commitecf091171b70787f92b18eeaa4ddc74f9221fa56 (patch)
tree433743e1e115d3720f5aa263af9a4253788bbc9e /block/mq-deadline.c
parentqed: remove unnecessary call to memset (diff)
downloadlinux-dev-ecf091171b70787f92b18eeaa4ddc74f9221fa56.tar.xz
linux-dev-ecf091171b70787f92b18eeaa4ddc74f9221fa56.zip
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>
Diffstat (limited to 'block/mq-deadline.c')
0 files changed, 0 insertions, 0 deletions