Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1303779ybg; Fri, 18 Oct 2019 15:32:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyTNAbi1slcr+Zv21mA9kfTD43F7j8XRQCzS5NhV1SBLXFGao3Haaz3tgLH15iKQ1X7p6yB X-Received: by 2002:a17:906:6a43:: with SMTP id n3mr10903956ejs.292.1571437942585; Fri, 18 Oct 2019 15:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571437942; cv=none; d=google.com; s=arc-20160816; b=k9pJsswqBYw2qJ8jDDfIRt77vYXgIzdba4AZxPBOcK5jPkY/ChJaJtrL6jha26uttI X7UGjlWORfAaP7gCAwd7WtwUKzNRF+82NNn6dlZyzzpGbxFKKS4tRBYRUVaMrwdcghJ3 +jes3f8z39yUpua3ip3mU2pL/M90oiVq68pv5w6o9qOnXtJlb7mMFxVHFLriXVMwg0EQ 6HYXBgNmAPrswBOjtQBnrc/3zwWccdAwc/cbwm/HjwVkSFdVJnXF8zvLysHKxfHgvYvM lDnVHuYWDIXsFl58kBPwAa21XCcZs9d7zV1Li26ohAzmXCbs7TWveqhrg/PYZf04qL6p eYwg== 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=ZHhfusPVtb4A1NUlu/MfGwJcITHfKDbV1VaKEd0doeE=; b=L3r9r3zfRN7z4WXnpvS98Fc12rIU+5A7OxgUCKWMcXqJoysd4aIwEmc5SWW4I3Ne26 oNtFlvIRB7860g/z1I+wbnS73zQMMzH8brT1+k56wqOo/+EWdqGShghuoMbWe3ZDG4tA aC4ja0snp+xXRGxO875C24eCDoo7xF01pECp3kazDSlOIqhknMYZE7CdTD2v+ON3Az36 Zp+PJoaAg3wdTPJwfTHneUpnCSPKV7mI2Q2BcF9N6/S3lKQ9Zc0HJP7glVaEMTjN131c GXNQta4Fk1UOPZ/p/KUP+ULFyz9M/7iFM2E77a//6GAsdwibRiOCuIZ+iIr9V8qpiVHP cO7A== 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 u23si4154255ejr.204.2019.10.18.15.31.59; Fri, 18 Oct 2019 15:32:22 -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 S2504311AbfJRFGx (ORCPT + 99 others); Fri, 18 Oct 2019 01:06:53 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:4270 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2504029AbfJRFFK (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 BFAA95EC249E71A351C5; Fri, 18 Oct 2019 11:19:30 +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:21 +0800 From: Kefeng Wang To: Petr Mladek , CC: Kefeng Wang , Paul Walmsley , Palmer Dabbelt , Albert Ou , Sergey Senozhatsky Subject: [PATCH v2 04/33] riscv: Use pr_warn instead of pr_warning Date: Fri, 18 Oct 2019 11:18:21 +0800 Message-ID: <20191018031850.48498-4-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: Paul Walmsley Cc: Palmer Dabbelt Cc: Albert Ou Acked-by: Palmer Dabbelt Reviewed-by: Sergey Senozhatsky Signed-off-by: Kefeng Wang --- arch/riscv/kernel/module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/riscv/kernel/module.c b/arch/riscv/kernel/module.c index 70bb94ae61c5..b7401858d872 100644 --- a/arch/riscv/kernel/module.c +++ b/arch/riscv/kernel/module.c @@ -315,8 +315,8 @@ int apply_relocate_add(Elf_Shdr *sechdrs, const char *strtab, /* Ignore unresolved weak symbol */ if (ELF_ST_BIND(sym->st_info) == STB_WEAK) continue; - pr_warning("%s: Unknown symbol %s\n", - me->name, strtab + sym->st_name); + pr_warn("%s: Unknown symbol %s\n", + me->name, strtab + sym->st_name); return -ENOENT; } -- 2.20.1