Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp167040pxf; Thu, 25 Mar 2021 00:51:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwphN5uqz6jQ1F9PZsHi3SA483sDaJYuFehBcIta7o4/xJ9Y7nlUvKX17WqGQj/jLHZgrv1 X-Received: by 2002:a17:907:3f96:: with SMTP id hr22mr7711684ejc.427.1616658709268; Thu, 25 Mar 2021 00:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616658709; cv=none; d=google.com; s=arc-20160816; b=mN8EYAxVpR1m4oEM2QK3r67Ae+LzziEwMPMkfguxm9m7tEefArv66uEELtW+ojb62H CHCVS62DSB3k9Wd5kVAWycOiqp3RA0cASRBW8gQPUl5TeEMjhqYUkPAXXCQFxSMby7Oi t8xjOo2SB6RXWkdrNHdZ03LfD3Emy85PAk8yhN0UTqdUeLJEx2jEHcEYrtAT2PSHAS7O enExGelwwB/Ciz6rZyo5fXPkYKFG2o8qLfBPq1m0o6y94X0sM/dS7TEVu4B/NiKyNGs8 aSI2plDkMGYOOZoN54NUMpBJAe90PBZgbemGiCx7pytpNaPJRtpFJMWlCa5iPPVYZyi6 Hr7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=h1/KmWu6S7R71nsmAepFBiRauzgsIfUCNB2qZFufc90=; b=0ts4f0Bt2Ak56BqhqI5AZZtzdR2ZtYu0tzfwAHRL5QSrr+Q0LFBrtVc8b0xko8xMRp 611U2qfSCSCXj7wiMBvvPETgVPWrenF7nOgPSIeXpJtANYqVJpySmKhotnDc0moSWgDx bSHCaoxjOjD6Q3R+FdPTP6tIuNUeJlOfpfxrkbhqMgk0ZQ2iZt2FJV4VfWbJ9Xvb3erY fh+c5XxYDcEyqE7bQwMtje99pIwl8km18epWExqEXjEyjR8+9Cae1aeW3AF3NwIA10E2 vp3CdjEuV/m9SLr9hYt1OexTeaWEetCGkhEkxC4bfR7n4RW9Am5UbRQSKSD3dXZISjO+ ytKA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jo14si3674523ejb.460.2021.03.25.00.51.26; Thu, 25 Mar 2021 00:51:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229900AbhCYHu3 (ORCPT + 99 others); Thu, 25 Mar 2021 03:50:29 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:14588 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229574AbhCYHuT (ORCPT ); Thu, 25 Mar 2021 03:50:19 -0400 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga04-in.huawei.com (SkyGuard) with ESMTP id 4F5cfT3rVcz19HFm; Thu, 25 Mar 2021 15:48:17 +0800 (CST) Received: from localhost.localdomain.localdomain (10.175.113.25) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.498.0; Thu, 25 Mar 2021 15:50:08 +0800 From: Xiongfeng Wang To: , , CC: , , , Subject: [PATCH 2/4] PCI/AER: Correct function names in the header Date: Thu, 25 Mar 2021 15:51:42 +0800 Message-ID: <20210325075144.180030-3-wangxiongfeng2@huawei.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210325075144.180030-1-wangxiongfeng2@huawei.com> References: <20210325075144.180030-1-wangxiongfeng2@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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/pci/pcie/aer.c:138: warning: expecting prototype for enable_ercr_checking(). Prototype was for enable_ecrc_checking() instead drivers/pci/pcie/aer.c:162: warning: expecting prototype for disable_ercr_checking(). Prototype was for disable_ecrc_checking() instead drivers/pci/pcie/aer.c:1450: warning: expecting prototype for aer_service_init(). Prototype was for pcie_aer_init() instead Reported-by: Hulk Robot Signed-off-by: Xiongfeng Wang --- drivers/pci/pcie/aer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pci/pcie/aer.c b/drivers/pci/pcie/aer.c index ba22388342d1..ec943cee5ecc 100644 --- a/drivers/pci/pcie/aer.c +++ b/drivers/pci/pcie/aer.c @@ -129,7 +129,7 @@ static const char * const ecrc_policy_str[] = { }; /** - * enable_ercr_checking - enable PCIe ECRC checking for a device + * enable_ecrc_checking - enable PCIe ECRC checking for a device * @dev: the PCI device * * Returns 0 on success, or negative on failure. @@ -153,7 +153,7 @@ static int enable_ecrc_checking(struct pci_dev *dev) } /** - * disable_ercr_checking - disables PCIe ECRC checking for a device + * disable_ecrc_checking - disables PCIe ECRC checking for a device * @dev: the PCI device * * Returns 0 on success, or negative on failure. @@ -1442,7 +1442,7 @@ static struct pcie_port_service_driver aerdriver = { }; /** - * aer_service_init - register AER root service driver + * pcie_aer_init - register AER root service driver * * Invoked when AER root service driver is loaded. */ -- 2.20.1