Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1153336pxj; Sat, 15 May 2021 05:35:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+xNMHWySyMsl7EbBPLFaFoEtoTiP45Rt9ofbi1L0VSJ69uiSxwtuTlvc/DkBnhQMb+xuy X-Received: by 2002:aa7:c84a:: with SMTP id g10mr44499066edt.326.1621082150565; Sat, 15 May 2021 05:35:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621082150; cv=none; d=google.com; s=arc-20160816; b=cCtLvffRlJyt6JT6FdmZu0DXmDWC5XV9llnuKBi1IIPD+jt3H4U7pvBx5NBdZ57DJw bQ98b8lYnEGoaCz1DxbVwOfF0jIUobYzIUNsBqH/cDhnMJl9iQrPyej73LTHhkODIrLj nmSKJBDrh3AkIglWe2ubIskXJGcCa7kZuE4piR3T5vEqcYaXQDI5tee3Ceb78qLn8H5A r4bRRJJgXnWM3hV/5XGcDp3+sg+TWsExpJv4FdcMNkCvGWsiKIczSpZJEMk6sf3iDrSF Et21cwQkvUfFod+OmRc1Tqul8aWgiFwxpJRKtLM7qbPzQPJyr5QKbjM4AsyqshQMA6nK sheQ== 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=0zyaQz2JhR6beR6RZXK001/RTKGFLieHilyng/J81os=; b=YyF7vJqfh1HxEqPqvc8Z7bvFe+ItZO2xI6cHXFl5TXzHAtQw1MvWsIQr52OM/tFGJ+ lmYZIIHeQqj13rLu83vPS5se4aFfFkwuLQx7uij94hlh+z4oJ7tyRuBTIixpPnk4O9zf QU2CM0TqxFGS4yJqIQAiPWnx5C2AqvaAmljcPPu5hSALcqf/bXYTYq688VvBoVhMM2m1 FySDXpyUZEczrE5O30HicR7d2VuAux7d3eznXnxycDVJSxysStWzI3uJ922pYpTKKkrM e0sov5VlLNX5zoo2KQ+NRLVY1r9VOG08TxVRGnAp5965Ov7qbD2cdDDwUpQNj0N6fZMW MoXg== 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 ah12si1995673ejc.252.2021.05.15.05.35.27; Sat, 15 May 2021 05:35:50 -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 S235019AbhEOK6w (ORCPT + 99 others); Sat, 15 May 2021 06:58:52 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3550 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233048AbhEOKzz (ORCPT ); Sat, 15 May 2021 06:55:55 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fj2Jn66XPzsRHn; Sat, 15 May 2021 18:51:53 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Sat, 15 May 2021 18:54:25 +0800 From: Yang Shen To: , CC: , , Yang Shen , Jon Mason Subject: [PATCH 16/34] net: neterion: vxge: Fix wrong function name in comments Date: Sat, 15 May 2021 18:53:41 +0800 Message-ID: <1621076039-53986-17-git-send-email-shenyang39@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1621076039-53986-1-git-send-email-shenyang39@huawei.com> References: <1621076039-53986-1-git-send-email-shenyang39@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] 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 5162b93..38a273c 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 87892bd..b113c15 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.7.4