locking/lockdep: Make it clear that what lock_class::key points at is not modified
authorBart Van Assche <bvanassche@acm.org>
Mon, 22 Jul 2019 18:24:40 +0000 (11:24 -0700)
committerIngo Molnar <mingo@kernel.org>
Thu, 25 Jul 2019 13:43:26 +0000 (15:43 +0200)
commit364f6afc4f5537b79cf454eb35cae92920676075
treeee8ff7b0c7ef150000c96735e51c98ee838eda37
parent6c11c6e3d5e9e5caf8686cd6a5e4552cfc3ea326
locking/lockdep: Make it clear that what lock_class::key points at is not modified

This patch does not change the behavior of the lockdep code.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Waiman Long <longman@redhat.com>
Cc: Will Deacon <will.deacon@arm.com>
Link: https://lkml.kernel.org/r/20190722182443.216015-2-bvanassche@acm.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/lockdep.h
kernel/locking/lockdep.c
kernel/locking/lockdep_internals.h
kernel/locking/lockdep_proc.c