From patchwork Mon May 12 09:40:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ??? X-Patchwork-Id: 4157881 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 68F5AC0ACC for ; Mon, 12 May 2014 09:40:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6B9DD202A1 for ; Mon, 12 May 2014 09:40:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 327CB201C0 for ; Mon, 12 May 2014 09:40:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755049AbaELJkd (ORCPT ); Mon, 12 May 2014 05:40:33 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:26411 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754942AbaELJkc (ORCPT ); Mon, 12 May 2014 05:40:32 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N5G00JGDG7IR930@mailout1.samsung.com>; Mon, 12 May 2014 18:40:31 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.50]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 07.0F.11496.E0790735; Mon, 12 May 2014 18:40:30 +0900 (KST) X-AuditID: cbfee691-b7f3e6d000002ce8-07-5370970ec105 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 95.0B.25708.E0790735; Mon, 12 May 2014 18:40:30 +0900 (KST) Received: from DOJAYSLEE01 ([12.36.166.151]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N5G009S2G7I5X60@mmp2.samsung.com>; Mon, 12 May 2014 18:40:30 +0900 (KST) From: Jungseok Lee To: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, Catalin.Marinas@arm.com, Marc Zyngier , Christoffer Dall Cc: linux-kernel@vger.kernel.org, linux-samsung-soc , steve.capper@linaro.org, sungjinn.chung@samsung.com, Arnd Bergmann , kgene.kim@samsung.com, ilho215.lee@samsung.com Subject: [PATCH v6 1/7] arm64: Use pr_* instead of printk Date: Mon, 12 May 2014 18:40:30 +0900 Message-id: <000001cf6dc6$36c5d240$a45176c0$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: Ac9twvj4trfYzdfOQgmdb8NQEn3lcA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrLIsWRmVeSWpSXmKPExsVy+t8zI12+6QXBBr2vzC3+TjrGbvF+WQ+j xYvX/xgtjv5byGjRu+Aqm8XHU8fZLTY9vsZqcXnXHDaLGef3MVn8vfOPzWLFvGVsFh9mrGR0 4PFYM28No8fvX5MYPe5c28PmcX7TGmaPzUvqPfq2rGL0+LxJLoA9issmJTUnsyy1SN8ugStj 7/oX7AX7eSoe901haWBcyNXFyMkhIWAi8fH8BHYIW0ziwr31bF2MXBxCAssYJd69PMgMU7Rl 9x02EFtIYDqjROsGYYiiP4wSU+ctYgRJsAloSjy628MOkhAR2MEoMXntIlYQh1ngIaPEz7f7 wUYJC1hKbNncANTBwcEioCrRdUkNJMwLFF7+qZ0dwhaU+DH5HguIzSygJbF+53EmCFteYvOa t1AXKUjsOPsabLGIgJ7EovXb2CBqRCT2vXjHCLJXQqCTQ+JVx3qwQSwCAhLfJh9iAdkrISA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35ESgEG9KYmVValF+fFFpTmrxIcZkoEcnMkuJJucD01leSbyhsYmZkaWRmYWR ibk5acJK4rwHW60DhQTSE0tSs1NTC1KLYLYwcXBKNTBW3Ngm0OtYc2KdkPW+uXcfXzWQfly8 6qrkv9buOean84/sNjz1cMX8qprIo0v/2c9afeyw5mfN0881c2fI+tQZme6qW7frcWOuW4Xu 6sXn7F0L93xeIFWY5WnQZ5S/Y9XkjM2vH7Hzc9Y/rozJNj6393/1qTj+O9xBkhcvn0hV8G8O /xcWJ9CtxFKckWioxVxUnAgAabFQ110DAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch fixed the following checkpatch complaint as using pr_* instead of printk. WARNING: printk() should include KERN_ facility level Cc: Catalin Marinas Signed-off-by: Jungseok Lee Reviewed-by: Sungjinn Chung Acked-by: Kukjin Kim --- arch/arm64/kernel/traps.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/kernel/traps.c b/arch/arm64/kernel/traps.c index c43cfa9..506f781 100644 --- a/arch/arm64/kernel/traps.c +++ b/arch/arm64/kernel/traps.c @@ -156,7 +156,7 @@ static void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk) frame.pc = thread_saved_pc(tsk); } - printk("Call trace:\n"); + pr_emerg("Call trace:\n"); while (1) { unsigned long where = frame.pc; int ret; @@ -331,17 +331,17 @@ asmlinkage void bad_mode(struct pt_regs *regs, int reason, unsigned int esr) void __pte_error(const char *file, int line, unsigned long val) { - printk("%s:%d: bad pte %016lx.\n", file, line, val); + pr_crit("%s:%d: bad pte %016lx.\n", file, line, val); } void __pmd_error(const char *file, int line, unsigned long val) { - printk("%s:%d: bad pmd %016lx.\n", file, line, val); + pr_crit("%s:%d: bad pmd %016lx.\n", file, line, val); } void __pgd_error(const char *file, int line, unsigned long val) { - printk("%s:%d: bad pgd %016lx.\n", file, line, val); + pr_crit("%s:%d: bad pgd %016lx.\n", file, line, val); } void __init trap_init(void)