aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/locking/rtmutex.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-08-15 23:27:37 +0200
committerIngo Molnar <mingo@kernel.org>2021-08-17 16:38:40 +0200
commitd8bbd97ad0b99a9394f2cd8410b884c48e218cf0 (patch)
tree3da8fb6de5285f5adc308571ed3188e4f8b9d04d /kernel/locking/rtmutex.c
parentc87866ede44ad7da6b296d732221dc34ce1b154d (diff)
downloadlinux-d8bbd97ad0b99a9394f2cd8410b884c48e218cf0.tar.gz
locking/local_lock: Add missing owner initialization
If CONFIG_DEBUG_LOCK_ALLOC=y is enabled then local_lock_t has an 'owner' member which is checked for consistency, but nothing initialized it to zero explicitly. The static initializer does so implicit, and the run time allocated per CPU storage is usually zero initialized as well, but relying on that is not really good practice. Fixes: 91710728d172 ("locking: Introduce local_lock()") Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20210815211301.969975279@linutronix.de
Diffstat (limited to 'kernel/locking/rtmutex.c')
0 files changed, 0 insertions, 0 deletions