Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753550AbbGFGdH (ORCPT ); Mon, 6 Jul 2015 02:33:07 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:52349 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753463AbbGFGcv (ORCPT ); Mon, 6 Jul 2015 02:32:51 -0400 X-AuditID: cbfee691-f79ca6d00000456a-5d-559a2109313b 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 Cc: pankaj.m@samsung.com, Maninder Singh 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+DhQTSE0tSs1NTC1KL4otK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tKhAgAA 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 Content-Length: 2049 Lines: 58 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; } } -- 1.7.9.5 -- 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/