summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2019-05-30 14:39:25 +0200
committerPaul E. McKenney <paulmck@linux.ibm.com>2019-08-01 23:05:51 +0200
commit519248f36d6f3c80e176f6fa844c10d94f1f5990 (patch)
tree22e44822bf74646a72e44b8cccd5c83f4739bd68 /kernel
parentLinux 5.3-rc2 (diff)
downloadlinux-519248f36d6f3c80e176f6fa844c10d94f1f5990.tar.xz
linux-519248f36d6f3c80e176f6fa844c10d94f1f5990.zip
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/locking/lockdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c
index 4861cf8e274b..4aca3f4379d2 100644
--- a/kernel/locking/lockdep.c
+++ b/kernel/locking/lockdep.c
@@ -620,7 +620,7 @@ static void print_lock(struct held_lock *hlock)
return;
}
- printk(KERN_CONT "%p", hlock->instance);
+ printk(KERN_CONT "%px", hlock->instance);
print_lock_name(lock);
printk(KERN_CONT ", at: %pS\n", (void *)hlock->acquire_ip);
}