aboutsummaryrefslogtreecommitdiffstats
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorClément Léger <clement.leger@bootlin.com>2022-11-08 10:43:22 +0100
committerAndrew Morton <akpm@linux-foundation.org>2022-12-15 16:37:49 -0800
commit3a6f33d86baa8103c80f62edd9393e9f7bf25d72 (patch)
tree6d2c028f274dcb4a3504da01d5bd37052a45899f /lib/pm-notifier-error-inject.c
parentmm: use stack_depot for recording kmemleak's backtrace (diff)
downloadlinux-rng-3a6f33d86baa8103c80f62edd9393e9f7bf25d72.tar.xz
linux-rng-3a6f33d86baa8103c80f62edd9393e9f7bf25d72.zip
mm/kmemleak: use %pK to display kernel pointers in backtrace
Currently, %p is used to display kernel pointers in backtrace which result in a hashed value that is not usable to correlate the address for debug. Use %pK which will respect the kptr_restrict configuration value and thus allow to extract meaningful information from the backtrace. Link: https://lkml.kernel.org/r/20221108094322.73492-1-clement.leger@bootlin.com Signed-off-by: Clément Léger <clement.leger@bootlin.com> Cc: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions