diff options
author | Tetsuo Handa <[email protected]> | 2021-03-21 15:49:13 +0900 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2021-03-21 11:59:57 +0100 |
commit | 3a85969e9d912d5dd85362ee37b5f81266e00e77 (patch) | |
tree | 0bb38e8cb5f12eca0d6edf2ef9c0857bba2198ec /scripts/gdb/linux/clk.py | |
parent | 2dc0572f2cef87425147658698dce2600b799bd3 (diff) |
lockdep: Add a missing initialization hint to the "INFO: Trying to register non-static key" message
Since this message is printed when dynamically allocated spinlocks (e.g.
kzalloc()) are used without initialization (e.g. spin_lock_init()),
suggest to developers to check whether initialization functions for objects
were called, before making developers wonder what annotation is missing.
[ mingo: Minor tweaks to the message. ]
Signed-off-by: Tetsuo Handa <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions