Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2622185pxj; Mon, 17 May 2021 06:06:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+lxf+jQ/NOTvk5z371f8YRwPqZvQY79Ab7ApKjtX1Wp8j+R7hw6tVpI2UY0w9hys1uzDJ X-Received: by 2002:a17:906:4e0d:: with SMTP id z13mr16787296eju.343.1621256782096; Mon, 17 May 2021 06:06:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621256782; cv=none; d=google.com; s=arc-20160816; b=zQuIiADG6evR5R904k7LFrcgVVWKZJmqBgoHz1hpRGr4t++I/Tu2Zp4qRPvpyHwFZU qCi9gKNUxYL7xB+qsSQ1i0FEFU6RpuT7QYd/Y7H4xuMn7EdyLNLntyVkdYMD7zDKO6vd 4L4aZB1sDG+rYp7xB2QefvzfE0iXdI+XKxVN9hUOGWjjNWjTyLweoeU4WTQowX7xUpEV NMLdjTzFC0ucvL+SA/3+QkGBMx2ma2bRVhyh3gEpGDVSMMj3igni2Gl07ZdW12KD7gQU EfmWyma4ap7Xe6J71U1Tmgmt1wa/g+hh/WZdYpS8somx+s6ntys+vRgw3EYXOWYx7ttR fprw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=vNgD1+S/SYRvcrTqgn9Rjjf9pe/xoKa/ARB/WxDYn1o=; b=YyhscKsaa+BNhzIm7ok8MihN7A675hcXj2wy+97DyaQBrt5b7lNqY29v2yc/7AA4jg uBH8Ukf2g5iX2KDvle9Pu+kXOqssUQAY1qwiNjEo+YP9+rvZFIqJWEPfhU1hmXmwxXed XndBhT3hSmhZ3OhW8A53C7rsBLxCG6P4OK3YKnZi75DOs2DdVRaMHy2gHwwmnqELGBsS p222EgKPJGwdhyDY+H20omvN0CqV+uL9VyrONmxDFNzF00BzuH50mFLYMqgeCzcSSh0O mI2inOSGgMV8UKqHRwJ2VI5gmWoc1zMfB8zSRSWl7ZtBJBhGTNX6kYwHzQ+i1qeaxUqN H6qg== 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 q18si17256200edi.189.2021.05.17.06.05.58; Mon, 17 May 2021 06:06:22 -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 S235620AbhEQIAz (ORCPT + 99 others); Mon, 17 May 2021 04:00:55 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2991 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235396AbhEQIAM (ORCPT ); Mon, 17 May 2021 04:00:12 -0400 Received: from dggems706-chm.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FkBJH3CptzQpWP; Mon, 17 May 2021 15:55:27 +0800 (CST) Received: from dggema704-chm.china.huawei.com (10.3.20.68) by dggems706-chm.china.huawei.com (10.3.19.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Mon, 17 May 2021 15:58:55 +0800 Received: from localhost.localdomain (10.67.165.2) by dggema704-chm.china.huawei.com (10.3.20.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 17 May 2021 15:58:54 +0800 From: Yang Shen To: , CC: , , Yang Shen , Jon Mason Subject: [PATCH v2 16/24] net: neterion: vxge: Fix wrong function name in comments Date: Mon, 17 May 2021 12:45:27 +0800 Message-ID: <20210517044535.21473-17-shenyang39@huawei.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210517044535.21473-1-shenyang39@huawei.com> References: <20210517044535.21473-1-shenyang39@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.2] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggema704-chm.china.huawei.com (10.3.20.68) 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/net/ethernet/neterion/vxge/vxge-config.c:4895: warning: expecting prototype for vxge_hw_vpath_rx_doorbell_post(). Prototype was for vxge_hw_vpath_rx_doorbell_init() instead drivers/net/ethernet/neterion/vxge/vxge-main.c:1814: warning: expecting prototype for vxge_poll(). Prototype was for vxge_poll_msix() instead drivers/net/ethernet/neterion/vxge/vxge-main.c:4761: warning: expecting prototype for vxge_rem_nic(). Prototype was for vxge_remove() instead Cc: Jon Mason Signed-off-by: Yang Shen --- drivers/net/ethernet/neterion/vxge/vxge-config.c | 2 +- drivers/net/ethernet/neterion/vxge/vxge-main.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/neterion/vxge/vxge-config.c b/drivers/net/ethernet/neterion/vxge/vxge-config.c index 5162b938a1ac..38a273c4d593 100644 --- a/drivers/net/ethernet/neterion/vxge/vxge-config.c +++ b/drivers/net/ethernet/neterion/vxge/vxge-config.c @@ -4884,7 +4884,7 @@ vxge_hw_vpath_open(struct __vxge_hw_device *hldev, } /** - * vxge_hw_vpath_rx_doorbell_post - Close the handle got from previous vpath + * vxge_hw_vpath_rx_doorbell_init - Close the handle got from previous vpath * (vpath) open * @vp: Handle got from previous vpath open * diff --git a/drivers/net/ethernet/neterion/vxge/vxge-main.c b/drivers/net/ethernet/neterion/vxge/vxge-main.c index 87892bd992b1..b113c158d6e3 100644 --- a/drivers/net/ethernet/neterion/vxge/vxge-main.c +++ b/drivers/net/ethernet/neterion/vxge/vxge-main.c @@ -1799,7 +1799,7 @@ static void vxge_reset(struct work_struct *work) } /** - * vxge_poll - Receive handler when Receive Polling is used. + * vxge_poll_msix - Receive handler when Receive Polling is used. * @napi: pointer to the napi structure. * @budget: Number of packets budgeted to be processed in this iteration. * @@ -4752,7 +4752,7 @@ vxge_probe(struct pci_dev *pdev, const struct pci_device_id *pre) } /** - * vxge_rem_nic - Free the PCI device + * vxge_remove - Free the PCI device * @pdev: structure containing the PCI related information of the device. * Description: This function is called by the Pci subsystem to release a * PCI device and free up all resource held up by the device. -- 2.17.1