Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1417302ybj; Fri, 20 Sep 2019 10:06:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNzBsZ1COhVe3YEi88Ng98fejztpiVrxZ+AYGuV99Ca7hrKn+Al2kjq2x8txjsSyE0byr2 X-Received: by 2002:a50:ac03:: with SMTP id v3mr23234824edc.113.1568999204651; Fri, 20 Sep 2019 10:06:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568999204; cv=none; d=google.com; s=arc-20160816; b=nFerY04dLgHb092fvMHCiH+WnB45G5oNdXSS1WQPPSdfY4XsdZSJzmYThZlkU6bYa+ bbTb3/jGpB+pkWJt2qrs73f61tXzRXoGwxZEBvZd2zrXznpKL8PEGjTuThPc9Zt7S0Jv UfY5vIaw6/x3unE1lwo3IlgGzC7v74JipV6zO4VW9aIU3MVUOdwoPdJAj5LURC41avdm KscWh/ztFRSHf5piGbyqI+gO2ClBXdsA9udV5grzld02h4Y6PdG7UJyWt/r/v4QiaccL ckafGOAaBoeM74ue6gPmhzQfpmZdkuYE4TSLjeJwFm4bL8GXDwa5FNnJq27nlUXodNJx 3uiQ== 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=DhTcyKxEAwMqegnyvTvBQfRQHCgS4xiyctHQTnNgTYg=; b=T+YKesE0fduOukx50rmhZnOJTIIuLtx/N8vT6aXEac1Q8bwwIvrfVsWTrRM3k75EUr j1f4nmiZYer2A2SIMspwdDlQGoVmdsG6P4HAFe3bWRpZy0hEqT7gVYyOGIP/X5MXM6B5 zsU8YCFZ1I3b8kiWzHElbScIBZ63rkDxm++lq7yYXX0ww7QjV1LBL55TmbAe70OcnlTa pSF9wUq6jtvDUcN/GzUr0J2dhsukZjQY5ZXlKVMbb2dz5Oh2oIXQD2rAO7Fhx2iw7/Wv PYhKtROqza7Sk0WNDMCoKNcAT1Axo6CW5jrmU4TvVloW6gwI6Ms3dqYgPcgp9Q7z9xvT d+eA== 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 b44si1760305ede.451.2019.09.20.10.06.19; Fri, 20 Sep 2019 10:06:44 -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 S2437345AbfITGJM (ORCPT + 99 others); Fri, 20 Sep 2019 02:09:12 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:57606 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2437301AbfITGJI (ORCPT ); Fri, 20 Sep 2019 02:09:08 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id C85533D6A4A6715913D1; Fri, 20 Sep 2019 14:09:06 +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:59 +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: , Robert Richter Subject: [PATCH 17/32] oprofile: Use pr_warn instead of pr_warning Date: Fri, 20 Sep 2019 14:25:29 +0800 Message-ID: <20190920062544.180997-18-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: Robert Richter 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