Skip to content
Commit 33c4368e authored by Kyeongdon Kim's avatar Kyeongdon Kim Committed by David S. Miller
Browse files

net: fix warning in af_unix



This fixes the "'hash' may be used uninitialized in this function"

net/unix/af_unix.c:1041:20: warning: 'hash' may be used uninitialized in this function [-Wmaybe-uninitialized]
  addr->hash = hash ^ sk->sk_type;

Signed-off-by: default avatarKyeongdon Kim <kyeongdon.kim@lge.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 26422340
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment