aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/locking
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2019-05-30 05:39:25 -0700
committerPaul E. McKenney <paulmck@linux.ibm.com>2019-08-01 14:05:51 -0700
commit519248f36d6f3c80e176f6fa844c10d94f1f5990 (patch)
tree22e44822bf74646a72e44b8cccd5c83f4739bd68 /kernel/locking
parentLinux 5.3-rc2 (diff)
downloadlinux-dev-519248f36d6f3c80e176f6fa844c10d94f1f5990.tar.xz
linux-dev-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/locking')
-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);
}