Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1302318ybg; Fri, 18 Oct 2019 15:30:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzW+241muXVX6u3CVwhle0CPa7+XYBpInGNLjKGKih166lDMoYo6iQ5nJUFRfgYyg+4lLUx X-Received: by 2002:a17:906:6dd3:: with SMTP id j19mr10778893ejt.144.1571437849021; Fri, 18 Oct 2019 15:30:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571437849; cv=none; d=google.com; s=arc-20160816; b=i5ze8WFeLFD/nKU6f4pB685POt4MTefJuluz0dR7uIwnS6agvTVHXV5QIHlqqDG6hK W8HvihomWzXiMytMFuOHOl9orLze1zAvtM8j+fJyXN4xw/vt7YuguvtL2QkSef87l267 pEqXuZT5jYGzi13a5maiItn97Lx3tHRUigXkxZp2e5P+CnAKapcFnS8aaX32mPG2ii1M dbgRtiSu41cEESdUj536//gscLdbOuDvGNTk2RwxOO6tiASMfkUIby2gQmrrDteLb+h7 U5hvmo7w+ndJPoZc8E4T1x2zHiiHtMPmVvi8uQZbHgSkgDtkx37XIRsBgFyJgE+3Zs3H 3xBw== 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=EcFpdXRXMqaA9zvvfykIJTy8AQUSfe1sKxPWx9kMSC4=; b=DMlFvMeVPp9tReKbrpYF5a2zN5iGzsy+yi8TpMLBJT2jPNLc6uTSkQCL8HzxuQfGZX JqooJc9M3c09kS/T9hd2jrugeWahLe5eBEooXg0n4GHVO46NmsGOCVmk670oRexV85ve SBKc3juuZWa63cpsJSEjUIDgHUbrMPAFl2CMccGIGIzge9+9sRolQp6QF0mGWNfYNGIH oJ6b7cR2w79A8GGI6/ZzVr+BNNEfbuET6XhQQ9hrcs3L7vSjCmis31N30JBMvjSt6A/t 0lznyMXtioycVc43gqt5c5GNM9f9xDNGeMmCZ/TJ/0H3b83LkQzONlVTKwEpUZVvJU5Q OvUw== 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 o14si4239124ejc.405.2019.10.18.15.30.26; Fri, 18 Oct 2019 15:30:49 -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 S2409579AbfJRFGw (ORCPT + 99 others); Fri, 18 Oct 2019 01:06:52 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:4277 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2504040AbfJRFFK (ORCPT ); Fri, 18 Oct 2019 01:05:10 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id D57BEC9E5BD47FC4FF36; Fri, 18 Oct 2019 11:19:35 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.439.0; Fri, 18 Oct 2019 11:19:28 +0800 From: Kefeng Wang To: Petr Mladek , CC: Kefeng Wang , Robert Richter , Sergey Senozhatsky Subject: [PATCH v2 17/33] oprofile: Use pr_warn instead of pr_warning Date: Fri, 18 Oct 2019 11:18:34 +0800 Message-ID: <20191018031850.48498-17-wangkefeng.wang@huawei.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191018031850.48498-1-wangkefeng.wang@huawei.com> References: <20191018031710.41052-1-wangkefeng.wang@huawei.com> <20191018031850.48498-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: Robert Richter Acked-by: Robert Richter Reviewed-by: Sergey Senozhatsky Signed-off-by: Kefeng Wang --- drivers/oprofile/oprofile_perf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/oprofile/oprofile_perf.c b/drivers/oprofile/oprofile_perf.c index 4b150a754890..98a63a5f8763 100644 --- a/drivers/oprofile/oprofile_perf.c +++ b/drivers/oprofile/oprofile_perf.c @@ -46,8 +46,8 @@ static void op_overflow_handler(struct perf_event *event, if (id != num_counters) oprofile_add_sample(regs, id); else - pr_warning("oprofile: ignoring spurious overflow " - "on cpu %u\n", cpu); + pr_warn("oprofile: ignoring spurious overflow on cpu %u\n", + cpu); } /* @@ -88,8 +88,8 @@ static int op_create_counter(int cpu, int event) if (pevent->state != PERF_EVENT_STATE_ACTIVE) { perf_event_release_kernel(pevent); - pr_warning("oprofile: failed to enable event %d " - "on CPU %d\n", event, cpu); + pr_warn("oprofile: failed to enable event %d on CPU %d\n", + event, cpu); return -EBUSY; } -- 2.20.1