projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a46cbf3
)
kasan: add newline to messages
author
Dmitry Vyukov
<
[email protected]
>
Thu, 14 Jul 2016 19:06:53 +0000
(12:06 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 15 Jul 2016 05:54:27 +0000
(14:54 +0900)
Currently GPF messages with KASAN look as follows:
kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN
Add newlines.
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Dmitry Vyukov <
[email protected]
>
Acked-by: Andrey Ryabinin <
[email protected]
>
Cc: Alexander Potapenko <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/x86/mm/kasan_init_64.c
patch
|
blob
|
history
diff --git
a/arch/x86/mm/kasan_init_64.c
b/arch/x86/mm/kasan_init_64.c
index 1b1110fa00570e0d242926ca8f06adc37db518a5..0493c17b8a516f4212bc21fe5e32d0bce466c24f 100644
(file)
--- a/
arch/x86/mm/kasan_init_64.c
+++ b/
arch/x86/mm/kasan_init_64.c
@@
-54,8
+54,8
@@
static int kasan_die_handler(struct notifier_block *self,
void *data)
{
if (val == DIE_GPF) {
- pr_emerg("CONFIG_KASAN_INLINE enabled");
- pr_emerg("GPF could be caused by NULL-ptr deref or user memory access");
+ pr_emerg("CONFIG_KASAN_INLINE enabled
\n
");
+ pr_emerg("GPF could be caused by NULL-ptr deref or user memory access
\n
");
}
return NOTIFY_OK;
}