Skip to content
Commit 0ef77d4e authored by Chih Hung Yu's avatar Chih Hung Yu Committed by Anas Nashif
Browse files

kernel: Fix negative mutex lock_count value



If you try to unlock an unlocked mutex, it will incorrectly
succeeds and decreases the lock count to -1.

Fixes #36572

Signed-off-by: default avatarChih Hung Yu <chyu313@gmail.com>
parent 4c38ca16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment