Thread (2 messages) 2 messages, 2 authors, 2020-02-24

Re: [PATCH 04/30] sctp: Add missing annotation for sctp_err_finish()

From: David Miller <davem@davemloft.net>
Date: 2020-02-24 21:28:45
Also in: linux-sctp, lkml

From: Jules Irenge <redacted>
Date: Sun, 23 Feb 2020 23:16:45 +0000
Sparse reports a warning at sctp_err_finish()
warning: context imbalance in sctp_err_finish() - unexpected unlock

The root cause is a missing annotation at sctp_err_finish()
Add the missing  __releases(&((__sk)->sk_lock.slock)) 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