Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751969AbaEACdz (ORCPT ); Wed, 30 Apr 2014 22:33:55 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:40382 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751791AbaEACdv (ORCPT ); Wed, 30 Apr 2014 22:33:51 -0400 X-AuditID: cbfee68e-b7fd86d0000038e3-72-5361b28ed7f2 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 v5 1/6] arm64: Use pr_* instead of printk Date: Thu, 01 May 2014 11:33:50 +0900 Message-id: <000101cf64e5$c944c750$5bce55f0$@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: Ac9k4aUfgurnCicLRqSU0q0pRGPD7w== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrLIsWRmVeSWpSXmKPExsVy+t8zA92+TYnBBlMvqFr8nXSM3eL9sh5G ixev/zFaHP23kNGid8FVNouPp46zW2x6fI3V4vKuOWwWM87vY7L4e+cfm8WKecvYLD7MWMno wOOxZt4aRo/fvyYxety5tofN4/ymNcwem5fUe/RtWcXo8XmTXAB7FJdNSmpOZllqkb5dAldG 16UPzAUTeSr2Ln7G3sD4g7OLkZNDQsBEYvvik4wQtpjEhXvr2boYuTiEBJYxSkz+twTI4QAr WvMyBaRGSGARo8T6swoQNX8YJW70trKCJNgENCUe3e1hB0mICOwAal67iBXEYRZ4yCjx8+1+ ZpAqYQFLid2r3oLZLAKqEr2NG9hAbF6g+MorC9ghbEGJH5PvsYDYzAJaEut3Hme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tcmpeul5yfu4kRnDKeSe9gXNVgcYhRgINRiYd3AltisBBrYllx Ze4hRgkOZiUR3uA1QCHelMTKqtSi/Pii0pzU4kOMyUCfTmSWEk3OB6azvJJ4Q2MTMyNLIzML IxNzc9KElcR5D7ZaBwoJpCeWpGanphakFsFsYeLglGpglFny6vwy3xt8K+db/Mjbu+61jjfH c+Ezx/XuGcZxBpX9Y/4lsevsdttAnUy3gKgS6XWKzysmh/pI+S/dNe1wppt0B8/a3uIZU26d lW/tsMpa8GmxNeOKAy66yzbEfd/32T9/oXNhoOGt7T7H72/y6wtsSvo0b9+lZtatOttu6r7i uSq5QGnJOiWW4oxEQy3mouJEAIdYuI5dAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 7ffaddd..268ce96 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; @@ -328,17 +328,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) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/