Re: [PATCH 2/8] raw: Add missing annotations to raw_seq_start() and raw_seq_stop()

From: David Miller
Date: Thu Mar 12 2020 - 02:20:11 EST


From: Jules Irenge <jbi.octave@xxxxxxxxx>
Date: Wed, 11 Mar 2020 01:09:02 +0000

> Sparse reports warnings at raw_seq_start() and raw_seq_stop()
>
> warning: context imbalance in raw_seq_start() - wrong count at exit
> warning: context imbalance in raw_seq_stop() - unexpected unlock
>
> The root cause is the missing annotations at raw_seq_start()
> and raw_seq_stop()
> Add the missing __acquires(&h->lock) annotation
> Add the missing __releases(&h->lock) annotation
>
> Signed-off-by: Jules Irenge <jbi.octave@xxxxxxxxx>

Applied.