summaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/kprobes.c
diff options
context:
space:
mode:
authorMasami Hiramatsu2018-01-25 06:30:32 +0100
committerMartin Schwidefsky2018-02-02 10:47:15 +0100
commit0e1647b39025517e5bfdfd45d6033ab7a1c9c8b9 (patch)
tree39cb8d55eabcdd09b2e493f6c3c8ab96483fc8d2 /arch/s390/kernel/kprobes.c
parents390/runtime instrumentation: provide uapi header file (diff)
downloadkernel-qcow2-linux-0e1647b39025517e5bfdfd45d6033ab7a1c9c8b9.tar.gz
kernel-qcow2-linux-0e1647b39025517e5bfdfd45d6033ab7a1c9c8b9.tar.xz
kernel-qcow2-linux-0e1647b39025517e5bfdfd45d6033ab7a1c9c8b9.zip
s390/kprobes: Fix %p uses in error messages
Remove %p because the kprobe will be dumped in dump_kprobe(). Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/kprobes.c')
-rw-r--r--arch/s390/kernel/kprobes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/kprobes.c b/arch/s390/kernel/kprobes.c
index 943d13e90c98..60f60afa645c 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();
}