Re: [PATCH v2] net: fix warning in af_unix
From: David Miller
Date: Thu Oct 18 2018 - 00:57:55 EST
From: Kyeongdon Kim <kyeongdon.kim@xxxxxxx>
Date: Tue, 16 Oct 2018 14:57:26 +0900
> 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: Kyeongdon Kim <kyeongdon.kim@xxxxxxx>
Applied to net-next.