kasan: add newline to messages
Subsystems (4)
Dmitry Vyukov
reviewerPATCH 1/1 kasan: add newline to messages
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.
--- arch/x86/mm/kasan_init_64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/mm/kasan_init_64.c +2 -2
@@ -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 ; }
Signature · 7 lines
2.8.0.rc3.226.g39d4020 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 5 lines · 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] SMPDEBUG_PAGEALLOCKASAN Add newlines.Signed-off-by Dmitry Vyukov <[email protected]>
Quoted 10 lines
--- arch/x86/mm/kasan_init_64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/x86/mm/kasan_init_64.c +0
-0
arch/x86/mm/kasan_init_64.c static int kasan_die_handler(struct notifier_block *self, · line 61
Quoted 10 lines
arch/x86/mm/kasan_init_64.c +2
-2@@ -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 ; }
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 29 lines · Andrey Ryabinin
Quoted 5 lines · 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] SMPDEBUG_PAGEALLOCKASAN Add newlines.Signed-off-by Dmitry Vyukov <[email protected]>Acked-by Andrey Ryabinin <[email protected]>Quoted 20 lines
--- arch/x86/mm/kasan_init_64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/x86/mm/kasan_init_64.c +2
-2@@ -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 ; }
Quoted 29 lines · Andrey Ryabinin
Quoted 5 lines · 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] SMPDEBUG_PAGEALLOCKASAN Add newlines.Signed-off-by Dmitry Vyukov <[email protected]>Acked-by Andrey Ryabinin <[email protected]>Quoted 20 lines
--- arch/x86/mm/kasan_init_64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/x86/mm/kasan_init_64.c +2
-2@@ -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 ; }
Quoted 72 lines · On Tuesday, August 30, 2016 at 9:07:23 PM UTC-5, [email protected] wrote:
Quoted 3 lines · Andrey Ryabinin
Quoted 2 lines · Dmitry Vyukov
Currently GPF messages with KASAN look as follows:
kasan: GPF could be caused by NULL-ptr deref or user memoryaccessgeneral protection fault: 0000 [#1] SMP
DEBUG_PAGEALLOCKASANQuoted 10 lines
Quoted 3 lines
Add newlines.
Signed-off-by Dmitry Vyukov <[email protected] <javascript:>>Acked-by Andrey Ryabinin <[email protected] <javascript:>>Quoted 4 lines
--- arch/x86/mm/kasan_init_64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Quoted 5 lines
arch/x86/mm/kasan_init_64.c static int kasan_die_handler(struct notifier_block
Quoted 5 lines
arch/x86/mm/kasan_init_64.c +0
-0@@ -54,8 +54,8 @@ static int kasan_die_handler(struct notifier_block*self,
Quoted 5 lines
arch/x86/mm/kasan_init_64.c static int kasan_die_handler(struct notifier_block *self,
Quoted 5 lines
arch/x86/mm/kasan_init_64.c +0
-2void *data) {if (val ==DIE_GPF ) { -pr_emerg ("CONFIG_KASAN_INLINE enabled" ); - pr_emerg("GPF could be caused by NULL-ptr deref oruser memory access");
Quoted 2 lines
arch/x86/mm/kasan_init_64.c static int kasan_die_handler(struct notifier_block · line 58
Quoted 2 lines
arch/x86/mm/kasan_init_64.c +2
-0+pr_emerg ("CONFIG_KASAN_INLINE enabled\n" ); + pr_emerg("GPF could be caused by NULL-ptr deref oruser memory access\n");
Quoted 4 lines
Quoted 4 lines
arch/x86/mm/kasan_init_64.c +0
-0}return NOTIFY_OK ; }Quoted 3 lines · Andrey Ryabinin
Quoted 2 lines · Dmitry Vyukov
Currently GPF messages with KASAN look as follows:
kasan: GPF could be caused by NULL-ptr deref or user memoryaccessgeneral protection fault: 0000 [#1] SMP
DEBUG_PAGEALLOCKASANQuoted 10 lines
Quoted 3 lines
Add newlines.
Signed-off-by Dmitry Vyukov <[email protected] <javascript:>>Acked-by Andrey Ryabinin <[email protected] <javascript:>>Quoted 4 lines
--- arch/x86/mm/kasan_init_64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)Quoted 5 lines
arch/x86/mm/kasan_init_64.c static int kasan_die_handler(struct notifier_block
Quoted 5 lines
arch/x86/mm/kasan_init_64.c +0
-0@@ -54,8 +54,8 @@ static int kasan_die_handler(struct notifier_block*self,
Quoted 5 lines
arch/x86/mm/kasan_init_64.c static int kasan_die_handler(struct notifier_block *self,
Quoted 5 lines
arch/x86/mm/kasan_init_64.c +0
-2void *data) {if (val ==DIE_GPF ) { -pr_emerg ("CONFIG_KASAN_INLINE enabled" ); - pr_emerg("GPF could be caused by NULL-ptr deref oruser memory access");
Quoted 2 lines
arch/x86/mm/kasan_init_64.c static int kasan_die_handler(struct notifier_block · line 58
Quoted 2 lines
arch/x86/mm/kasan_init_64.c +2
-0+pr_emerg ("CONFIG_KASAN_INLINE enabled\n" ); + pr_emerg("GPF could be caused by NULL-ptr deref oruser memory access\n");
Quoted 4 lines
Quoted 4 lines
arch/x86/mm/kasan_init_64.c +0
-0}return NOTIFY_OK ; }
Quoted 26 lines · dvyukov
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] SMPDEBUG_PAGEALLOCKASAN Add newlines.Signed-off-by Dmitry Vyukov <[email protected]>--- arch/x86/mm/kasan_init_64.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/x86/mm/kasan_init_64.c +2
-2@@ -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 ; }Signature · 1 line
2.8.0.rc3.226.g39d4020