Re: [PATCH 15/30] af_unix: Add missing annotation for unix_wait_for_peer()

From: David Miller
Date: Mon Feb 24 2020 - 16:30:33 EST


From: Jules Irenge <jbi.octave@xxxxxxxxx>
Date: Sun, 23 Feb 2020 23:16:56 +0000

> Sparse reports a warning unix_wait_for_peer()
>
> warning: context imbalance in unix_wait_for_peer() - unexpected unlock
>
> The root cause is the missing annotation at unix_wait_for_peer()
> Add the missing annotation __releases(&unix_sk(other)->lock)
>
> Signed-off-by: Jules Irenge <jbi.octave@xxxxxxxxx>

Applied.