[PATCH net-next 02/14] rxrpc: fix uninitialized variable use [ver #2]

2016-06-22 Thread David Howells
From: Arnd Bergmann Hashing the peer key was introduced for AF_INET, but gcc warns about the rxrpc_peer_hash_key function returning uninitialized data for any other value of srx->transport.family: net/rxrpc/peer_object.c: In function 'rxrpc_peer_hash_key': net/rxrpc/peer_object.c:57:15: error: '

[PATCH net-next 02/14] rxrpc: fix uninitialized variable use

2016-06-22 Thread David Howells
From: Arnd Bergmann Hashing the peer key was introduced for AF_INET, but gcc warns about the rxrpc_peer_hash_key function returning uninitialized data for any other value of srx->transport.family: net/rxrpc/peer_object.c: In function 'rxrpc_peer_hash_key': net/rxrpc/peer_object.c:57:15: error: '