diff options
| author | Nathan Chancellor <natechancellor@gmail.com> | 2017-01-26 19:41:39 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-13 12:32:06 +0200 |
| commit | 8024e4be94213b0275c765c9e804eef811ef2dda (patch) | |
| tree | 19d473228829e1aa1a461e090eb87ce9df8fc1f5 /lib/raid6 | |
| parent | 27f9328d209e9d12afe5e50aa55172b9d73356fe (diff) | |
net: bridge: fix maybe-uninitialized warning
In file included from net/bridge/br_multicast.c:28:0:
net/bridge/br_multicast.c: In function 'br_mdb_get':
include/net/ipv6.h:436:38: warning: '*((void *)&ip+8)' may be used uninitialized in this function [-Wmaybe-uninitialized]
return ((ul1[0] ^ ul2[0]) | (ul1[1] ^ ul2[1])) == 0UL;
~~~~~~~~^~~~~~~~~
net/bridge/br_multicast.c:138:15: note: '*((void *)&ip+8)' was declared here
struct br_ip ip;
^~
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'lib/raid6')
0 files changed, 0 insertions, 0 deletions
