All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kasan: add newline to messages
@ 2016-06-30 13:45 Dmitry Vyukov
  2016-06-30 13:48 ` Andrey Ryabinin
  2017-01-30  9:58 ` lukefrierson888
  0 siblings, 2 replies; 5+ messages in thread
From: Dmitry Vyukov @ 2016-06-30 13:45 UTC (permalink / raw)
  To: akpm, ryabinin.a.a, glider, kasan-dev, linux-mm; +Cc: Dmitry Vyukov

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.

Signed-off-by: Dmitry Vyukov <dvyukov@google.com>
---
 arch/x86/mm/kasan_init_64.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/x86/mm/kasan_init_64.c b/arch/x86/mm/kasan_init_64.c
index 1b1110f..0493c17 100644
--- 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;
 }
-- 
2.8.0.rc3.226.g39d4020

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-01-30  9:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-30 13:45 [PATCH] kasan: add newline to messages Dmitry Vyukov
2016-06-30 13:48 ` Andrey Ryabinin
2016-08-31  2:07   ` amanda4ray
2016-09-08  0:03     ` bethelpchalfant
2017-01-30  9:58 ` lukefrierson888

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.