diff --git a/kernel/lockdep.c b/kernel/lockdep.c index 3574379..572df7d 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c @@ -730,6 +730,7 @@ register_lock_class(struct lockdep_map * printk("INFO: trying to register non-static key.\n"); printk("the code is fine but needs lockdep annotation.\n"); printk("turning off the locking correctness validator.\n"); + printk("key: %p, name: %s\n", lock->key, lock->name); dump_stack(); return NULL;