Thread (23 messages) flat view 23 messages, 8 authors, 2020-03-27

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

From: David Miller <davem@davemloft.net>
Date: 2020-03-12 06:20:11
Also in: bpf, lkml

From: Jules Irenge <redacted>
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 <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help