mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 00:20:32 +00:00
lockdep: Make print_lock() address visible
Security is a wonderful thing, but so is the ability to debug based on lockdep warnings. This commit therefore makes lockdep lock addresses visible in the clear. Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
This commit is contained in:
parent
609488bc97
commit
519248f36d
1 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,7 @@ static void print_lock(struct held_lock *hlock)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
printk(KERN_CONT "%p", hlock->instance);
|
printk(KERN_CONT "%px", hlock->instance);
|
||||||
print_lock_name(lock);
|
print_lock_name(lock);
|
||||||
printk(KERN_CONT ", at: %pS\n", (void *)hlock->acquire_ip);
|
printk(KERN_CONT ", at: %pS\n", (void *)hlock->acquire_ip);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue