Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp638241pxf; Thu, 25 Mar 2021 10:32:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzmIGHiLiqAYT0+y5HcsuJvLmXYxEBisuquYuPPTr/952XXmNvq9VmoWS78UFAgCKjNxxQv X-Received: by 2002:a17:906:cd05:: with SMTP id oz5mr10886444ejb.345.1616693564406; Thu, 25 Mar 2021 10:32:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616693564; cv=none; d=google.com; s=arc-20160816; b=v4WTvHlacnvfVz4DhLkkDvHOgBrSAK6l/14flZjym92eg7dw0ZHEROkHtTPRtdvdwe 1k/RUXpN82LhLRJHMre1DS9WaFqdgn+yxrX/tRryDjRFJwL7y+QOERJS/XaEmpmUpm+2 q9uWWjXVwX3g/MCzK7tMbjqd0HK/62LT7XQEDXmZopvl5tVD4NNppjROj6D9v/ISeBL5 YUudOJry/+c4Q+UsepJ+UbbbxhPQ9wXea2Ny/3BiSEKBGL1X0myi0v7VzxXzWjawGXDJ Rb4b7LrD/3PTaw+5aAfUi/TJR7q3Ft0S6upy0pCpB34aguSsMoEvXA+pB+nKDg0nGPUM /WwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=MClPgIyJWfzB8v7uHNHe9wccdA+LIzruu+7HvqWMVsk=; b=do7p5C/turcMTsqHjMVhjX2m/zEQIRaX/RTdX+doUCFa35JE/Amt4Qt6VTblnmCVLC PdlGK3A0w3xNc5zQYLJDCHhtjzMxkvr3mQZLO97z8HgEgUCHD0cKNsZrFWWgkliFTFji +u40E3wZqIeIdrv7hXlHZxuGnV9yyODvdSYQD8yAjkjU2C/3uLPe2Dhc1SGdvrov6nMU 2b58CbM8VCuLPNy/dnRfFMoxAx+ILE4OXlRoWkDneD8JLnVb7j4VLLiljCJnzJN+Z2vY xqQ9E8s9lqCrGEk++yU1hJnR+sDATR1HUhYT/eHB1eMYEg0LzjXiq8RabSSJiVmiqgnB IYAw== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u4si4827263ejz.522.2021.03.25.10.32.20; Thu, 25 Mar 2021 10:32:44 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230032AbhCYRam (ORCPT + 99 others); Thu, 25 Mar 2021 13:30:42 -0400 Received: from mail-oi1-f178.google.com ([209.85.167.178]:41746 "EHLO mail-oi1-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229836AbhCYRaZ (ORCPT ); Thu, 25 Mar 2021 13:30:25 -0400 Received: by mail-oi1-f178.google.com with SMTP id z15so2898121oic.8; Thu, 25 Mar 2021 10:30:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MClPgIyJWfzB8v7uHNHe9wccdA+LIzruu+7HvqWMVsk=; b=UkwNXC3itudIhbppfev4oZtlF9EiPQdppo8rTHO83N3bI0Nz4TgOPQL1KWG99Y+xGW iEly2M9rbf001bYYpdE9jY3RWexmzAtOuKV7DNj4vGrk9f6AfQ24HDC71bhvDSgzOo0M f3c+RS455jHD5eDLARckoeCKUZvnCVnwBuMyRPh+NKOOuHNJ0oOU6sFCd5uDNlc4AvHO PsbZWML8vLtWqEcyFqbix+gU9yJPYiKjSYXHHArL5AQYxQ/Nd/UdRlr2ZJmiooZ3aLx6 5JCBspGJxJrwVwvD2HylHhTAeNMgfJOv2aAgEKSnD8dVAbLFFPEHb4+78iFLLuF0eO5y vNfg== X-Gm-Message-State: AOAM530jJ6s/ZZfKjVWA4/ZeFMg0SFKKpDYNYkxg3J1uGlFv6b4lEjyj SInb75eR+UeuQw/+HGMR7XNRTa0q4bjpzjkEzlJRBYrA X-Received: by 2002:aca:c4c5:: with SMTP id u188mr7020325oif.71.1616693425185; Thu, 25 Mar 2021 10:30:25 -0700 (PDT) MIME-Version: 1.0 References: <20210325075144.180030-1-wangxiongfeng2@huawei.com> <20210325075144.180030-3-wangxiongfeng2@huawei.com> In-Reply-To: <20210325075144.180030-3-wangxiongfeng2@huawei.com> From: "Rafael J. Wysocki" Date: Thu, 25 Mar 2021 18:30:14 +0100 Message-ID: Subject: Re: [PATCH 2/4] PCI/AER: Correct function names in the header To: Xiongfeng Wang Cc: Bjorn Helgaas , "Rafael J. Wysocki" , ruscur@russell.cc, Linux PCI , ACPI Devel Maling List , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > --- > 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 >