Commit 0eb078ed authored by Kyeongdon Kim's avatar Kyeongdon Kim Committed by Lee Jones
Browse files

net: fix warning in af_unix



[ Upstream commit 33c4368e ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Change-Id: Ie03c959f1d3d4521bf27ba960eca098685e6ccc2
parent b5d1cd10
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment