From patchwork Mon Jul 6 06:32:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maninder Singh X-Patchwork-Id: 6719961 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9C04BC05AC for ; Mon, 6 Jul 2015 06:35:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7F0D1206D6 for ; Mon, 6 Jul 2015 06:35:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9A6A0206D2 for ; Mon, 6 Jul 2015 06:35:44 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZBzxu-0007RP-Dj; Mon, 06 Jul 2015 06:33:18 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZBzxr-0007OE-4g for linux-arm-kernel@lists.infradead.org; Mon, 06 Jul 2015 06:33:16 +0000 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NR100FNDZIHPE10@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 06 Jul 2015 15:32:41 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.123]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 00.91.17770.9012A955; Mon, 6 Jul 2015 15:32:41 +0900 (KST) X-AuditID: cbfee691-f79ca6d00000456a-5d-559a2109313b Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 9E.6A.25346.9012A955; Mon, 6 Jul 2015 15:32:41 +0900 (KST) Received: from localhost.localdomain ([107.108.92.210]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NR1008GQZI0UKB0@mmp1.samsung.com>; Mon, 06 Jul 2015 15:32:41 +0900 (KST) From: Maninder Singh To: catalin.marinas@arm.com, will.deacon@arm.com, lorenzo.pieralisi@arm.com, peterz@infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/1] arm64: use pr_warn instead of pr_warning Date: Mon, 06 Jul 2015 12:02:11 +0530 Message-id: <1436164331-3736-1-git-send-email-maninder1.s@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrCLMWRmVeSWpSXmKPExsWyRsSkWpdTcVaowYTzChbvl/UwWmx6fI3V 4vKuOWwWb36/YLc4PL+NxeLem61MFsd7DzBZvPx4gsWBw2PNvDWMHptXaHlsXlLv0bdlFaPH 501yAaxRXDYpqTmZZalF+nYJXBnHp5xlKTjIV7HuzjvWBsZ2ni5GTg4JAROJHa3tbBC2mMSF e+uBbC4OIYGljBJvWs+xwxT9nzeTBSKxiFHi94SHrBDOT0aJRWues4BUsQnoSazatQfMFhFY yShxcXVOFyMHB7OAk8T0r3ogYWEBW4mVf5qYQWwWAVWJPZ9usYGU8Aq4SbydFwFiSggoSMyZ ZAMyXUKgmV1i9451bBDlAhLfJh9igaiRldh0gBniNEmJgytusExgFFzAyLCKUTS1ILmgOCm9 yFSvODG3uDQvXS85P3cTIzBwT/97NnEH4/0D1ocYBTgYlXh4I2pmhgqxJpYVV+YeYjQF2jCR WUo0OR8YH3kl8YbGZkYWpiamxkbmlmZK4rw60j+DhQTSE0tSs1NTC1KL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Jn63tKhAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150705_233315_343630_31D98F25 X-CRM114-Status: GOOD ( 10.70 ) X-Spam-Score: -7.5 (-------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Maninder Singh , pankaj.m@samsung.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Use more commonly used pr_warn, and also code looks similar to arm/hw_breakpoint.c code after this change. Signed-off-by: Maninder Singh --- arch/arm64/kernel/hw_breakpoint.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/arm64/kernel/hw_breakpoint.c b/arch/arm64/kernel/hw_breakpoint.c index e7d934d..f703609 100644 --- a/arch/arm64/kernel/hw_breakpoint.c +++ b/arch/arm64/kernel/hw_breakpoint.c @@ -72,7 +72,7 @@ int hw_breakpoint_slots(int type) case TYPE_DATA: return get_num_wrps(); default: - pr_warning("unknown slot type: %d\n", type); + pr_warn("unknown slot type: %d\n", type); return 0; } } @@ -133,7 +133,8 @@ static u64 read_wb_reg(int reg, int n) GEN_READ_WB_REG_CASES(AARCH64_DBG_REG_WVR, AARCH64_DBG_REG_NAME_WVR, val); GEN_READ_WB_REG_CASES(AARCH64_DBG_REG_WCR, AARCH64_DBG_REG_NAME_WCR, val); default: - pr_warning("attempt to read from unknown breakpoint register %d\n", n); + pr_warn("attempt to read from unknown breakpoint register %d\n", + n); } return val; @@ -147,7 +148,8 @@ static void write_wb_reg(int reg, int n, u64 val) GEN_WRITE_WB_REG_CASES(AARCH64_DBG_REG_WVR, AARCH64_DBG_REG_NAME_WVR, val); GEN_WRITE_WB_REG_CASES(AARCH64_DBG_REG_WCR, AARCH64_DBG_REG_NAME_WCR, val); default: - pr_warning("attempt to write to unknown breakpoint register %d\n", n); + pr_warn("attempt to write to unknown breakpoint register %d\n", + n); } isb(); } @@ -164,7 +166,7 @@ static enum debug_el debug_exception_level(int privilege) case AARCH64_BREAKPOINT_EL1: return DBG_ACTIVE_EL1; default: - pr_warning("invalid breakpoint privilege level %d\n", privilege); + pr_warn("invalid breakpoint privilege level %d\n", privilege); return -EINVAL; } }