Commit 0e1647b3 authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Martin Schwidefsky

s390/kprobes: Fix %p uses in error messages

Remove %p because the kprobe will be dumped in dump_kprobe().
Signed-off-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent df2f815a
...@@ -281,7 +281,7 @@ static void kprobe_reenter_check(struct kprobe_ctlblk *kcb, struct kprobe *p) ...@@ -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 * is a BUG. The code path resides in the .kprobes.text
* section and is executed with interrupts disabled. * 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); dump_kprobe(p);
BUG(); BUG();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment