]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
signal: Fix the lock_task_sighand() annotation
authorBart Van Assche <bvanassche@acm.org>
Wed, 25 Feb 2026 18:32:42 +0000 (10:32 -0800)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 27 Feb 2026 15:40:19 +0000 (16:40 +0100)
commit39be7b21af24d1d2ed3b18caac57dd219fef226e
tree80e52f3100aae09585539085aa75367eb9f83ef6
parent38e18d825f7281fdc16d3241df5115ce6eaeaf79
signal: Fix the lock_task_sighand() annotation

lock_task_sighand() may return NULL. Make this clear in its lock context
annotation.

Fixes: 04e49d926f43 ("sched: Enable context analysis for core.c and fair.c")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Marco Elver <elver@google.com>
Link: https://patch.msgid.link/20260225183244.4035378-3-bvanassche@acm.org
include/linux/sched/signal.h