Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp916156pxf; Thu, 25 Mar 2021 18:01:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzrKvUpXYwoG5T+PMGjDKGQPJA5NwY7OVWwzPiib+s6Ly0+Eqh0sD/X8la7S7SIPF34R/i5 X-Received: by 2002:a05:6402:145a:: with SMTP id d26mr12021568edx.182.1616720511576; Thu, 25 Mar 2021 18:01:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616720511; cv=none; d=google.com; s=arc-20160816; b=lFO0GiCroKCZvVGywCKi3vyLKuhAEsWAFxpk6GsckrEm5qw9iKrAkmtcvF4TopNL0t JbBZkH9Od17T6K4htV6sP4YZ64pryMu+ZeZnEU4P6iTlQdHdoE21unxYB3HKJ0x419jM p1sZnKa5fMe4Al3pJtuJIPOcbdbJ9wyZQp3chdbxuNYNGUjvrnv9ke21qga3joH/K/gp zxTgRI0kHAcdXWqOqYeBRm9AkqHiEJuWzLa7Pbemp1kxk02UtpMAhc5qgoVVr1AfeSJM 0XtK71qR/uli2eskvj5yWCi6UsTKwnQtBuAjvIe7KlqtY/LVS+jrcZAJv01d9lAd4HFN f7lA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=efQ/U+l6836ZEUpyMG94EylO9R36CPTCuy5jMB4y+g0=; b=dETNyNP+8VjIOZP6aC6bsgrWIQJLK0tJyJk7fvNoPaG/V6o+Aba+fyq1ibb1HfK2QE woTMluQFmcv5aK+E/nKV5pIaUmpFV64cAJOBti0Xru1Gypm5KtyVV3SOZ78rvuYP3eFE 31SDj6aX9XNmx0lKVYbo173w740Z2WOaVj4wF5GuOCf3jknlp4jYJNrA3MjWiTMt5vMm XKru4iNlhUL44JOMMHysCC7xWlY550CVe5PTqncL3gWwg1mmIMxQjRVymmJuc1e6qDfj x8fmMBpXTuVB3tWZpHVjm/MV0NqXPGGjeMGX1NVq6YSA97ScoGwU40C62SBnbJKbEF/s 7OWg== 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 he34si5920764ejc.317.2021.03.25.18.01.16; Thu, 25 Mar 2021 18:01:51 -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 S229893AbhCZA7G (ORCPT + 99 others); Thu, 25 Mar 2021 20:59:06 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:14904 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229933AbhCZA6i (ORCPT ); Thu, 25 Mar 2021 20:58:38 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4F63TG0hWkzkfrd; Fri, 26 Mar 2021 08:56:50 +0800 (CST) Received: from [10.174.177.160] (10.174.177.160) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.498.0; Fri, 26 Mar 2021 08:58:25 +0800 Subject: Re: [PATCH 2/4] PCI/AER: Correct function names in the header To: "Rafael J. Wysocki" CC: Bjorn Helgaas , "Rafael J. Wysocki" , , Linux PCI , ACPI Devel Maling List , Linux Kernel Mailing List References: <20210325075144.180030-1-wangxiongfeng2@huawei.com> <20210325075144.180030-3-wangxiongfeng2@huawei.com> From: Xiongfeng Wang Message-ID: <39a66394-cd74-ebff-7447-cb9fa51d8db4@huawei.com> Date: Fri, 26 Mar 2021 08:58:24 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.177.160] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rafael, On 2021/3/26 1:30, Rafael J. Wysocki wrote: > On Thu, Mar 25, 2021 at 8:50 AM Xiongfeng Wang > wrote: >> >> 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 > > The subject is somewhat inaccurate, because you're fixing function > names in kerneldoc comments. > > If you say "a header", people may think that this is about a header file. Thanks a lot ! I will change it in the next version. Thanks, Xiongfeng > >> --- >> 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 >> > . >