net/ipv4/raw.c: Fix sparse noise about context imbalance
PATCH 1/1 net/ipv4/raw.c: Fix sparse noise about context imbalance
Fix sparse noise due to context imbalance by annotating the functions.
Signed-off-by H Hartley Sweeten <[email protected]>
---
net/ipv4/raw.c +2 -0
@@ -896,6 +896,7 @@ static struct sock *raw_get_idx(struct seq_file *seq, loff_t pos) }void *raw_seq_start (struct seq_file *seq,loff_t *pos) + __acquires(&state->h->lock) {struct raw_iter_state *state =raw_seq_private (seq);
@@ -918,6 +919,7 @@ void *raw_seq_next(struct seq_file *seq, void *v, loff_t *pos)EXPORT_SYMBOL_GPL (raw_seq_next);void raw_seq_stop (struct seq_file *seq,void *v) + __releases(&state->h->lock) {struct raw_iter_state *state =raw_seq_private (seq);