Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1302197ybg; Fri, 18 Oct 2019 15:30:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqxCKC3rhVuS5gsP6JXEyUMNV7cQZPlOC/g7RNBduSG3JkPtJPNEh3fDfkGFDXuYLrEJfBNK X-Received: by 2002:a17:906:4548:: with SMTP id s8mr11131860ejq.198.1571437842898; Fri, 18 Oct 2019 15:30:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571437842; cv=none; d=google.com; s=arc-20160816; b=0lsNyLiUehcIpWJwY9oXPy2Uxj1h2C8T99SB+YpjqAcFi9T1Sy4tn2v2Kp04fYaw/1 KkNmpOEf9IavQPtV2byxsYWN99CMD65d2AsZhhI2ivG8BZTzDOmMJibJbVQGEzRHhJfS V3u3nKryxkAT+PWIUe9EPykXLbVVH+sdaX8ZZVO0p4nqaVCP8MK+BlcHb8zjUasAldIF Xxi5PL/Oj0mmWXYyXJg76CWV95HycxY5p2oshfx97lsvheYmpRzNpp/FarLPruquYPlS vHl1k36xq4NJShm+CuL6BIqlR/YusZ2Up76AXODbWOdWW4oquK03RCvLEQyBWLkxwwC0 I3uQ== 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=7H6VSpXkZdoNpySPsF3ZpCmpjDS5o2xp8oTymaCWMdk=; b=04QdO3gTP+O9b4LFpuimopEw39qkjpcRzffUJ+K43wwCiorNCKLdL8JiN64+2wTZwg bRWcqcMv8m+rLBfNI+5i14YL9fYU4mrY7NIHUXTJxbX7LtATxPEGOoEoldpeUf5a2IwN jE3WwVVy2HcZJCiWtD1oyC+B8qqMM6Tz6JUvDsFlO1ialh4PvnXOThhOPwFmclubPp/L /CzF8A7WXLoyMR0tKByMb1soYERgFqaMSUVcKlSb45pehL/eskdf0a5cJX6Al3Ag7xzI bluFVnBxpkEtg2WIaz2J2p5j3Z4QSWss1niA0DYdHcBJSjm6ONRjGZlX9Hb5Cch1AtO7 JVEQ== 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 f33si5089160edb.281.2019.10.18.15.30.20; Fri, 18 Oct 2019 15:30:42 -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 S2504109AbfJRFFX (ORCPT + 99 others); Fri, 18 Oct 2019 01:05:23 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:4279 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2504078AbfJRFFQ (ORCPT ); Fri, 18 Oct 2019 01:05:16 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id DE10F3E152F3E7520C46; 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:26 +0800 From: Kefeng Wang To: Petr Mladek , CC: Kefeng Wang , Herbert Xu , "David S. Miller" , Sergey Senozhatsky Subject: [PATCH v2 12/33] crypto: n2: Use pr_warn instead of pr_warning Date: Fri, 18 Oct 2019 11:18:29 +0800 Message-ID: <20191018031850.48498-12-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: Herbert Xu Cc: "David S. Miller" Reviewed-by: Sergey Senozhatsky Signed-off-by: Kefeng Wang --- drivers/crypto/n2_core.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/crypto/n2_core.c b/drivers/crypto/n2_core.c index dc15b06e96ab..40b81013213e 100644 --- a/drivers/crypto/n2_core.c +++ b/drivers/crypto/n2_core.c @@ -381,8 +381,8 @@ static int n2_hash_cra_init(struct crypto_tfm *tfm) fallback_tfm = crypto_alloc_ahash(fallback_driver_name, 0, CRYPTO_ALG_NEED_FALLBACK); if (IS_ERR(fallback_tfm)) { - pr_warning("Fallback driver '%s' could not be loaded!\n", - fallback_driver_name); + pr_warn("Fallback driver '%s' could not be loaded!\n", + fallback_driver_name); err = PTR_ERR(fallback_tfm); goto out; } @@ -418,16 +418,16 @@ static int n2_hmac_cra_init(struct crypto_tfm *tfm) fallback_tfm = crypto_alloc_ahash(fallback_driver_name, 0, CRYPTO_ALG_NEED_FALLBACK); if (IS_ERR(fallback_tfm)) { - pr_warning("Fallback driver '%s' could not be loaded!\n", - fallback_driver_name); + pr_warn("Fallback driver '%s' could not be loaded!\n", + fallback_driver_name); err = PTR_ERR(fallback_tfm); goto out; } child_shash = crypto_alloc_shash(n2alg->child_alg, 0, 0); if (IS_ERR(child_shash)) { - pr_warning("Child shash '%s' could not be loaded!\n", - n2alg->child_alg); + pr_warn("Child shash '%s' could not be loaded!\n", + n2alg->child_alg); err = PTR_ERR(child_shash); goto out_free_fallback; } -- 2.20.1