Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1743805ybj; Fri, 20 Sep 2019 15:59:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzVLNk+2yok9y+S01Z0Lw3JTtrYyz18VFKDcSdPkjAhIczI65EirgTi9BOHqt3TwUR+qYvq X-Received: by 2002:a50:93a4:: with SMTP id o33mr25212043eda.0.1569020397986; Fri, 20 Sep 2019 15:59:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569020397; cv=none; d=google.com; s=arc-20160816; b=rTpIHARckySpaPaCW+GGDND606dI97JMHnsmIJQkmKSFzj7nOf+hVbw6cKJORmBxI7 uM/16+r4lxIr3vLxKMF0DEyw9CuHmvAASdUYKcf1QNN+HB4GaYCyGGjQGcoUtMHKDb4f jmRmSYf5Qw7Qckxuk89CbMQQvuv7tsbR0qYj0lFqxQk7Yg+LTimfg6ukeTLPOWWVkVx+ imOo4e/19rdNhSfqYKXxmOrxjE3JpNhQ3uYivzoN02fDvCpVEKyXHC4KEA93VfNN5ilQ p8jfCOrYmX+XitsD7Oje4Q6RAdLitJQs8K8vi1ZXLSAFWeUiXtwHT10xGKbWYrKfIPey PKBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=hkaOofgAK36l5aMP16PIUfX8/mW5kB3DBaHcHamFPRI=; b=K5+kb1EtB0GB/i+hG4TsqYS+mPRb7doaiI/ri93XPELh5Z3IQEpXFQ9yjIglO8XSoz tBi2+KbBYi8jG8YvhJ+kqdj1DZv1R2NJFivxR+IrWv5xbHm6SRZfR3E1Br1XyisEEH6t kkU22vXBSoRtUM9g36wuJOz/9cZH3nvb/1OOEuXZdVUg7HbP+zo4bRGf98g6ZIjSwJMD CeXFLSJNH+4iBE1dXQzaVjVOOTpjDywoey7iELcC4GLl/hesmUKER5zZGtT3PVc8ayft IZ9501XkYrBttFrFCppD7WDybkfdOgVQqhb6pwgePV//r5zi9J3dyfNITh+Bo5SkfB2I rCfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si2429848edk.115.2019.09.20.15.59.34; Fri, 20 Sep 2019 15:59:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2408275AbfITGIx (ORCPT + 99 others); Fri, 20 Sep 2019 02:08:53 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2743 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2408261AbfITGIx (ORCPT ); Fri, 20 Sep 2019 02:08:53 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 890BEAEF140909DD15E4; Fri, 20 Sep 2019 14:08:51 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.439.0; Fri, 20 Sep 2019 14:08:45 +0800 From: Kefeng Wang To: Joe Perches , Andrew Morton , Ingo Molnar , "David S. Miller" , Arnaldo Carvalho de Melo , Andy Whitcroft , Peter Zijlstra , "Alexei Starovoitov" , Daniel Borkmann , "Greg Kroah-Hartman" , Sergey Senozhatsky , Petr Mladek , Arnd Bergmann , CC: , Will Deacon , Mark Rutland , Catalin Marinas Subject: [PATCH 02/32] arm64: Use pr_warn instead of pr_warning Date: Fri, 20 Sep 2019 14:25:14 +0800 Message-ID: <20190920062544.180997-3-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190920062544.180997-1-wangkefeng.wang@huawei.com> References: <20190920062544.180997-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.113.25] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of pr_warning"), removing pr_warning so all logging messages use a consistent _warn style. Let's do it. Cc: Will Deacon Cc: Mark Rutland Cc: Catalin Marinas Signed-off-by: Kefeng Wang --- arch/arm64/kernel/hw_breakpoint.c | 8 ++++---- arch/arm64/kernel/smp.c | 11 +++++------ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/arch/arm64/kernel/hw_breakpoint.c b/arch/arm64/kernel/hw_breakpoint.c index 38ee1514cd9c..0b727edf4104 100644 --- a/arch/arm64/kernel/hw_breakpoint.c +++ b/arch/arm64/kernel/hw_breakpoint.c @@ -51,7 +51,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; } } @@ -112,7 +112,7 @@ 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; @@ -127,7 +127,7 @@ 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(); } @@ -145,7 +145,7 @@ static enum dbg_active_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; } } diff --git a/arch/arm64/kernel/smp.c b/arch/arm64/kernel/smp.c index dc9fe879c279..ab149bcc3dc7 100644 --- a/arch/arm64/kernel/smp.c +++ b/arch/arm64/kernel/smp.c @@ -345,8 +345,7 @@ void __cpu_die(unsigned int cpu) */ err = op_cpu_kill(cpu); if (err) - pr_warn("CPU%d may not have shut down cleanly: %d\n", - cpu, err); + pr_warn("CPU%d may not have shut down cleanly: %d\n", cpu, err); } /* @@ -976,8 +975,8 @@ void smp_send_stop(void) udelay(1); if (num_online_cpus() > 1) - pr_warning("SMP: failed to stop secondary CPUs %*pbl\n", - cpumask_pr_args(cpu_online_mask)); + pr_warn("SMP: failed to stop secondary CPUs %*pbl\n", + cpumask_pr_args(cpu_online_mask)); sdei_mask_local_cpu(); } @@ -1017,8 +1016,8 @@ void crash_smp_send_stop(void) udelay(1); if (atomic_read(&waiting_for_crash_ipi) > 0) - pr_warning("SMP: failed to stop secondary CPUs %*pbl\n", - cpumask_pr_args(&mask)); + pr_warn("SMP: failed to stop secondary CPUs %*pbl\n", + cpumask_pr_args(&mask)); sdei_mask_local_cpu(); } -- 2.20.1