From: Masami Hiramatsu Date: Thu, 25 Jan 2018 05:30:32 +0000 (+0900) Subject: s390/kprobes: Fix %p uses in error messages X-Git-Tag: v5.15~9420^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e1647b39025517e5bfdfd45d6033ab7a1c9c8b9;p=platform%2Fkernel%2Flinux-starfive.git s390/kprobes: Fix %p uses in error messages Remove %p because the kprobe will be dumped in dump_kprobe(). Signed-off-by: Masami Hiramatsu Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/kprobes.c b/arch/s390/kernel/kprobes.c index 943d13e..60f60af 100644 --- a/arch/s390/kernel/kprobes.c +++ b/arch/s390/kernel/kprobes.c @@ -281,7 +281,7 @@ static void kprobe_reenter_check(struct kprobe_ctlblk *kcb, struct kprobe *p) * is a BUG. The code path resides in the .kprobes.text * section and is executed with interrupts disabled. */ - printk(KERN_EMERG "Invalid kprobe detected at %p.\n", p->addr); + pr_err("Invalid kprobe detected.\n"); dump_kprobe(p); BUG(); }