Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1762842ybj; Fri, 20 Sep 2019 16:22:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqxjowImrLFUHm2B0dhXAfxiKRJlkESzFi17bRy7zHkd2KDlaz7rfKSohKKZidw9jPbF0JtN X-Received: by 2002:a50:eb4c:: with SMTP id z12mr24948809edp.155.1569021726688; Fri, 20 Sep 2019 16:22:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569021726; cv=none; d=google.com; s=arc-20160816; b=dJuEdHzd9lDQq7QbHysZieSrdC4cu46vjiA8UR7bO8dXVavQX3qwJKWISByGcsKa9Z avdgHWF0neoV5fqM7HKQv1cpqqXsQw2IvYZDgU1Q7JPO8wJCoyyEZXeH+i4cL1S3z/0t 3vYm4MDlqCkv8Sgo+eecOHN0c9hkTkzAvc0cu/MRu/JORmGBS+imtpjHKb3+xENAgT7a N2l7hleXZvboEJGV04zwTb4+vSMiUuBtm7ZNBUO57s3U5wcv0M8Fy4WphR7AISF4vpkm DFyYLEt91c5/+xfIqcnGAHe9dTDWhBIeXuodPg6Uyzk1KlHSGW05yUzcuUAzZigyqz3l l3uQ== 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=FrV1qQ1Md+61MGTyAxuln0EYjWfSVq28bqpYb1WvjhU=; b=ZAwF1yw7b6FfLsVDEnREwgz1LI9ay4REk9AGGiTEJGkmeIATiS9nYlCG1iqpV+kJH+ 5PoQEq46NIKyFJkTOPVx4cYT8n8y00X8hiNUGfrwelPdeYfbBQzll0zPZoxjk58NZU7o clBU9GnEJi1uGDl/WBfKoV23PO7d1UKaAR+vQL0BwHSYaQnRVWJTcste7Xhic3iH7KEo Hy+I6+4cUACL6etXYflQtR/H6mSntZsoq23CjWgCgu0I5Ym3snY47LBMAx6Cq80qPqoS ORbbIyc2YCc0CoOxnT1d7kvjTagkRuebeIb17jQBa+rQK+jmhINgYsN17rZXcr0uYIoJ YJjQ== 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 jx20si1761125ejb.291.2019.09.20.16.21.43; Fri, 20 Sep 2019 16:22:06 -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 S2437311AbfITGJI (ORCPT + 99 others); Fri, 20 Sep 2019 02:09:08 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:57846 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2437276AbfITGJF (ORCPT ); Fri, 20 Sep 2019 02:09:05 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id B9C70880603586B525DC; Fri, 20 Sep 2019 14:09:01 +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:55 +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: Subject: [PATCH 13/32] ide: Use pr_warn instead of pr_warning Date: Fri, 20 Sep 2019 14:25:25 +0800 Message-ID: <20190920062544.180997-14-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: "David S. Miller" Signed-off-by: Kefeng Wang --- drivers/ide/tx4938ide.c | 2 +- drivers/ide/tx4939ide.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/ide/tx4938ide.c b/drivers/ide/tx4938ide.c index 40a3f55b08dd..962eb92501b5 100644 --- a/drivers/ide/tx4938ide.c +++ b/drivers/ide/tx4938ide.c @@ -46,7 +46,7 @@ static void tx4938ide_tune_ebusc(unsigned int ebus_ch, while ((shwt * 4 + wt + (wt ? 2 : 3)) * cycle < t->cycle) shwt++; if (shwt > 7) { - pr_warning("tx4938ide: SHWT violation (%d)\n", shwt); + pr_warn("tx4938ide: SHWT violation (%d)\n", shwt); shwt = 7; } pr_debug("tx4938ide: ebus %d, bus cycle %dns, WT %d, SHWT %d\n", diff --git a/drivers/ide/tx4939ide.c b/drivers/ide/tx4939ide.c index 88d132edc4e3..d5e871fe840d 100644 --- a/drivers/ide/tx4939ide.c +++ b/drivers/ide/tx4939ide.c @@ -363,9 +363,9 @@ static int tx4939ide_dma_test_irq(ide_drive_t *drive) case TX4939IDE_INT_HOST | TX4939IDE_INT_XFEREND: dma_stat = tx4939ide_readb(base, TX4939IDE_DMA_Stat); if (!(dma_stat & ATA_DMA_INTR)) - pr_warning("%s: weird interrupt status. " - "DMA_Stat %#02x int_ctl %#04x\n", - hwif->name, dma_stat, ctl); + pr_warn("%s: weird interrupt status. " + "DMA_Stat %#02x int_ctl %#04x\n", + hwif->name, dma_stat, ctl); found = 1; break; } -- 2.20.1