diff options
author | Joe Perches <joe@perches.com> | 2016-07-14 20:10:13 +0300 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2016-07-15 11:55:49 +0300 |
commit | fb2bb461e2d8c3af659c8a501d642a735b3ddadc (patch) | |
tree | 2d4ff7c7c696c4cb1eb0a1a3f412d8d49e4a5443 /arch/metag/mm | |
parent | 986724dd3501f808fbe94f7128d4b8227200d706 (diff) | |
download | linux-fb2bb461e2d8c3af659c8a501d642a735b3ddadc.tar.xz |
metag: Remove duplicate KERN_<LEVEL> prefix
Use a bare printk to avoid a duplicate KERN_<LEVEL> in logging output.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/metag/mm')
-rw-r--r-- | arch/metag/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/metag/mm/fault.c b/arch/metag/mm/fault.c index f57edca63609..73b3c50f517d 100644 --- a/arch/metag/mm/fault.c +++ b/arch/metag/mm/fault.c @@ -187,7 +187,7 @@ bad_area_nosemaphore: if (show_unhandled_signals && unhandled_signal(tsk, SIGSEGV) && printk_ratelimit()) { - pr_info("%s%s[%d]: segfault at %lx pc %08x sp %08x write %d trap %#x (%s)", + printk("%s%s[%d]: segfault at %lx pc %08x sp %08x write %d trap %#x (%s)", task_pid_nr(tsk) > 1 ? KERN_INFO : KERN_EMERG, tsk->comm, task_pid_nr(tsk), address, regs->ctx.CurrPC, regs->ctx.AX[0].U0, |