Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1139291pxj; Sat, 15 May 2021 05:10:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxE8KefcVNKuf1T0bih0YWaUx+S9SB3wPAHJAUaiOAdY/1TxIBviV4PSruwodL8atSvDuwa X-Received: by 2002:a92:c26d:: with SMTP id h13mr16303095ild.131.1621080606507; Sat, 15 May 2021 05:10:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621080606; cv=none; d=google.com; s=arc-20160816; b=pDdFeiFGDej3yNIshbqevBKTO7ehTqGFniW0oQistNGZx+v4F4QEggzxUi314oyRS6 KEkTC9H9rUWhzj7MWXSg4oDH9JkeRkPyr/YgCkZT/fpFFOtNS35Y8s7mBZFJzRPQBQ/q Se12AZgA7KjxAJtVa4zLWyg7/Xju5f0h0bmo51xLCU02RUoUbUam1Hw5Z5dZeC3kGunR BNfJ2zar5EqwAPyasNbV7c/HRMJ726az28k464bCqgD/21u4IEwMdLL+XYLbjucjKqYM ZMhmPUUlp69FbeeA8idUlWgjceM5uDCJfdGkcSETLiS9Cj8jZd56NWLmbAIiiRPB3a7o ATPA== 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=GVeAeokUZXsXamGpalVZFC4BVx6LpDh1WL+Z1YIK/Mc=; b=QjHycGdXiPFcOwVZqlxDa86oBmCHhzaXul61WtmuKqjwL39Smgew5hugAJu5Dors8S b61ecL55wb/Pq5KTKbO2RWIfoziMjzT9Glc6rLVMKMTn3mMTxACmL8iLh10xL6xYKcDc 200VFzYr+db4tLjwOmg+6v4WKcTywntQYIGauVoKU60Dr5627oZf3H05cBz9rq0oW82G SwZO3eIzA1bKrDQH1GYD9B0GDFSuICMCHk7Yfpi/GM8sa3dAJGar6xP8ZvDKv9+962dl pq367PsTmwVMQAqoo2d+pKk+oLAI98hG/X4IZys6gjIj0QWmlbUpxWVhi4OCC576VDVv QAgQ== 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 n2si9575170ilm.161.2021.05.15.05.09.53; Sat, 15 May 2021 05:10:06 -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 S234918AbhEOK4X (ORCPT + 99 others); Sat, 15 May 2021 06:56:23 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2605 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231544AbhEOKzp (ORCPT ); Sat, 15 May 2021 06:55:45 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fj2Jh5zrnzsRBK; Sat, 15 May 2021 18:51:48 +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:23 +0800 From: Yang Shen To: , CC: , , Yang Shen Subject: [PATCH 08/34] net: calxeda: Fix wrong function name in comments Date: Sat, 15 May 2021 18:53:33 +0800 Message-ID: <1621076039-53986-9-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/calxeda/xgmac.c:720: warning: expecting prototype for init_xgmac_dma_desc_rings(). Prototype was for xgmac_dma_desc_rings_init() instead drivers/net/ethernet/calxeda/xgmac.c:867: warning: expecting prototype for xgmac_tx(). Prototype was for xgmac_tx_complete() instead drivers/net/ethernet/calxeda/xgmac.c:1049: warning: expecting prototype for xgmac_release(). Prototype was for xgmac_stop() instead drivers/net/ethernet/calxeda/xgmac.c:1822: warning: expecting prototype for xgmac_dvr_remove(). Prototype was for xgmac_remove() instead Signed-off-by: Yang Shen --- drivers/net/ethernet/calxeda/xgmac.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/calxeda/xgmac.c b/drivers/net/ethernet/calxeda/xgmac.c index bbb453c..b6a0664 100644 --- a/drivers/net/ethernet/calxeda/xgmac.c +++ b/drivers/net/ethernet/calxeda/xgmac.c @@ -711,7 +711,7 @@ static void xgmac_rx_refill(struct xgmac_priv *priv) } /** - * init_xgmac_dma_desc_rings - init the RX/TX descriptor rings + * xgmac_dma_desc_rings_init - init the RX/TX descriptor rings * @dev: net device structure * Description: this function initializes the DMA RX/TX descriptors * and allocates the socket buffers. @@ -859,7 +859,7 @@ static void xgmac_free_dma_desc_rings(struct xgmac_priv *priv) } /** - * xgmac_tx: + * xgmac_tx_complete: * @priv: private driver structure * Description: it reclaims resources after transmission completes. */ @@ -1040,7 +1040,7 @@ static int xgmac_open(struct net_device *dev) } /** - * xgmac_release - close entry point of the driver + * xgmac_stop - close entry point of the driver * @dev : device pointer. * Description: * This is the stop entry point of the driver. @@ -1812,7 +1812,7 @@ static int xgmac_probe(struct platform_device *pdev) } /** - * xgmac_dvr_remove + * xgmac_remove * @pdev: platform device pointer * Description: this function resets the TX/RX processes, disables the MAC RX/TX * changes the link status, releases the DMA descriptor rings, -- 2.7.4