projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df2f815
)
s390/kprobes: Fix %p uses in error messages
author
Masami Hiramatsu
<mhiramat@kernel.org>
Thu, 25 Jan 2018 05:30:32 +0000
(14:30 +0900)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Fri, 2 Feb 2018 09:47:15 +0000
(10:47 +0100)
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>
arch/s390/kernel/kprobes.c
patch
|
blob
|
history
diff --git
a/arch/s390/kernel/kprobes.c
b/arch/s390/kernel/kprobes.c
index
943d13e
..
60f60af
100644
(file)
--- 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.
*/
- pr
intk(KERN_EMERG "Invalid kprobe detected at %p.\n", p->addr
);
+ pr
_err("Invalid kprobe detected.\n"
);
dump_kprobe(p);
BUG();
}