Re: [PATCH 29/30] sgi-xp: Add missing annotation for xpc_disconnect_channel()

From: Robin Holt
Date: Fri Feb 28 2020 - 14:22:14 EST


On Sun, Feb 23, 2020 at 5:18 PM Jules Irenge <jbi.octave@xxxxxxxxx> wrote:
>
> Sparse reports a warning at xpc_disconnect_channel()
> warning: context imbalance in xpc_disconnect_channel() - unexpected unlock
> The root cause is a missing annotation at xpc_disconnect_channel()
> Add the missing __must_hold(&ch->lock) annotation
>
> Signed-off-by: Jules Irenge <jbi.octave@xxxxxxxxx>
Acked-by: Robin Holt <robinmholt@xxxxxxxxx>