Skip to content

Commit

Permalink
s390/kprobes: Fix %p uses in error messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mhiramat authored and Martin Schwidefsky committed Feb 2, 2018
1 parent df2f815 commit 0e1647b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/s390/kernel/kprobes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 0e1647b

Please sign in to comment.