Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S946031AbcJSQRJ (ORCPT ); Wed, 19 Oct 2016 12:17:09 -0400 Received: from mailapp01.imgtec.com ([195.59.15.196]:59928 "EHLO mailapp01.imgtec.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941380AbcJSOTY (ORCPT ); Wed, 19 Oct 2016 10:19:24 -0400 From: Matt Redfearn To: Ralf Baechle CC: , Matt Redfearn , "Maciej W. Rozycki" , , James Hogan , Paul Burton Subject: [PATCH 1/4] MIPS: traps: Fix output of show_backtrace Date: Wed, 19 Oct 2016 14:33:20 +0100 Message-ID: <1476884003-17306-2-git-send-email-matt.redfearn@imgtec.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1476884003-17306-1-git-send-email-matt.redfearn@imgtec.com> References: <1476884003-17306-1-git-send-email-matt.redfearn@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.150.130.83] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 815 Lines: 27 Since commit 4bcc595ccd80 ("printk: reinstate KERN_CONT for printing continuation lines") the output from show_backtrace on MIPS has been pretty unreadable due to the lack of KERN_CONT markers. Use pr_cont to provide the appropriate markers & restore the expected output. Signed-off-by: Matt Redfearn --- arch/mips/kernel/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c index 1f5fdee1dfc3..6ae5ea752d4c 100644 --- a/arch/mips/kernel/traps.c +++ b/arch/mips/kernel/traps.c @@ -156,7 +156,7 @@ static void show_backtrace(struct task_struct *task, const struct pt_regs *regs) print_ip_sym(pc); pc = unwind_stack(task, &sp, pc, &ra); } while (pc); - printk("\n"); + pr_cont("\n"); } /* -- 2.7.4