浏览代码

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>
Masami Hiramatsu 7 年之前
父节点
当前提交
0e1647b390
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/s390/kernel/kprobes.c

+ 1 - 1
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();
 	}