summaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex_api.c
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2024-08-12 12:39:05 +0200
committerThomas Gleixner <tglx@linutronix.de>2024-10-24 11:27:02 +0200
commit77abd3b7d9bf384306872b6201b1dfeb1e899892 (patch)
treebdfc5b6dd2413e0996b81bf5737c8604804d1c35 /kernel/locking/rtmutex_api.c
parent168660b826a77fda28235e0b0b3027041d6a5240 (diff)
locking/rt: Annotate unlock followed by lock for sparse.
rt_mutex_slowlock_block() and rtlock_slowlock_locked() both unlock lock::wait_lock and then lock it later. This is unusual and sparse complains about it. Add __releases() + __acquires() annotation to mark that it is expected. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20240812104200.2239232-5-bigeasy@linutronix.de
Diffstat (limited to 'kernel/locking/rtmutex_api.c')
0 files changed, 0 insertions, 0 deletions