From: Luc Van Oostenryck Date: Mon, 27 Feb 2017 22:28:21 +0000 (-0800) Subject: ipc/mqueue: add missing sparse annotation X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eac0b1c3681676f83d154915723f2853c38d5d1b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ipc/mqueue: add missing sparse annotation Link: http://lkml.kernel.org/r/20170128235704.45302-1-luc.vanoostenryck@gmail.com Signed-off-by: Luc Van Oostenryck Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 7a2d8f0c8ae5..4fdd97031431 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c @@ -558,6 +558,7 @@ static void wq_add(struct mqueue_inode_info *info, int sr, */ static int wq_sleep(struct mqueue_inode_info *info, int sr, ktime_t *timeout, struct ext_wait_queue *ewp) + __releases(&info->lock) { int retval; signed long time;