aboutsummaryrefslogtreecommitdiffstats
path: root/ipc/msg.c
diff options
context:
space:
mode:
authorJules Irenge <jbi.octave@gmail.com>2020-06-07 21:40:07 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-06-08 11:05:55 -0700
commit4b78e2013a374f379457ceba7dc860d9fc28156b (patch)
tree72946c2eeb1a35af6e5a1b4c0b8b10766b046a7e /ipc/msg.c
parent92fb1db26eefc11554820f11ce8e92007da2fbf4 (diff)
downloadlinux-4b78e2013a374f379457ceba7dc860d9fc28156b.tar.gz
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/msg.c')
-rw-r--r--ipc/msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipc/msg.c b/ipc/msg.c
index caca67368cb5b1..acd1bc7af55a26 100644
--- a/ipc/msg.c
+++ b/ipc/msg.c
@@ -268,6 +268,8 @@ static void expunge_all(struct msg_queue *msq, int res,
* before freeque() is called. msg_ids.rwsem remains locked on exit.
*/
static void freeque(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp)
+ __releases(RCU)
+ __releases(&msq->q_perm)
{
struct msg_msg *msg, *t;
struct msg_queue *msq = container_of(ipcp, struct msg_queue, q_perm);
release/core66-62 Intel wireless group's fork of linux.gitIntel wireless group
aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorRahul Sharma <rahul.sharma@samsung.com>2013-08-22 20:05:08 +0530
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-09-20 16:35:31 +0000
commit11097fd0ce2699e797b3f788963374b69eb18ea7 (patch)
tree6591d65cf961f31a7ec688b2c1568dda5f193803 /Documentation
parent3d368040e1353a01a36019fa857db1c6c043e7a0 (diff)
downloadchromeos-11097fd0ce2699e797b3f788963374b69eb18ea7.tar.gz
clk/exynos5420: add isp clocks
Adds missing gates for ISP block. This will gate the unused clocks and help in saving power. BUG=chrome-os-partner:20369 TEST=System works fine on Peach and Smdk board along with S2R stress test. Change-Id: Iff882fc2011d67399a8bc9cf0384124393ccaf1d Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com> Signed-off-by: Andrew Bresticker <abrestic@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/66370