diff options
author | Jules Irenge <jbi.octave@gmail.com> | 2020-06-07 21:40:07 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-06-08 11:05:55 -0700 |
commit | 4b78e2013a374f379457ceba7dc860d9fc28156b (patch) | |
tree | 72946c2eeb1a35af6e5a1b4c0b8b10766b046a7e /ipc/util.h | |
parent | mm/page_idle.c: skip offline pages (diff) | |
download | linux-dev-4b78e2013a374f379457ceba7dc860d9fc28156b.tar.xz linux-dev-4b78e2013a374f379457ceba7dc860d9fc28156b.zip |
ipc/msg: add missing annotation for freeque()
Sparse reports a warning at freeque()
warning: context imbalance in freeque() - unexpected unlock
The root cause is the missing annotation at freeque()
Add the missing __releases(RCU) annotation
Add the missing __releases(&msq->q_perm) annotation
Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Lu Shuaibing <shuaibinglu@126.com>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Cc: Manfred Spraul <manfred@colorfullife.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Link: http://lkml.kernel.org/r/20200403160505.2832-2-jbi.octave@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions