Re: [PATCH] kasan: use \n with pr_emerg

From: Vegard Nossum
Date: Tue Jul 12 2016 - 10:32:48 EST


On 07/12/2016 04:27 PM, Andrey Ryabinin wrote:
On 07/12/2016 05:16 PM, Vegard Nossum wrote:
We really ought to be using \n with pr_*() so the 'general protection
fault...' starts on a line of its own. With this patch it looks better:

kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] KASAN
CPU: 0 PID: 56 Comm: ext4.exe Not tainted 4.7.0-rc7+ #650


Dmitry fixed that already: http://lkml.kernel.org/g/<1467294357-98002-1-git-send-email-dvyukov@xxxxxxxxxx>


Great, thanks :-)


Vegard