Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2601704pxj; Mon, 17 May 2021 05:38:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/7D6Mamsi7MAtdrbeD979t/dIxH3SFcHTjL71oFjJsXyZMuMotsQjn/lcNuL1SXC8Qrbq X-Received: by 2002:a17:907:960b:: with SMTP id gb11mr61352871ejc.123.1621255135647; Mon, 17 May 2021 05:38:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621255135; cv=none; d=google.com; s=arc-20160816; b=GyIvS4nc1SPJQfuXKqhssysDO7j6b3MdKVKUafLpjHzX+0FlUt+s+SGJT7Vm9fj6HW sYU3kHYAhPCtkwtOqFLBVI97t5F1kEzBTS5CMnO7hDuUxx8p8M7ihE4L5ImRB8lUUcOE gQP4JtCR38PUAnc9mO2zoEBe/Xw5YUZy8EyLlckPGtLNoV1SJ4djuiejUrELo/1vKq2q xrpmwoSIioem06J+/Wq+DfnN0yDtBFW/FYXIR4f58e5C1knWez1DLbu0Vd17hAIREMnL AN1/10Z8E8LwchxWgfVvyO7aPGVwYp5X8qkignNyFW/FiFQPgA4kurX5L5ZsGS6vxtRb BwgA== 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=rPh8qcDR54r4BqGrdbYORyg5G1hg8YQvXs5yBrM32Aw=; b=wlJTEKNh3WgzaUPDidvvd7qdK/RwmhQMUrcRRdDdAJa+tZWvVOGCzzYznGftGkpQSt d2dHyXvHZcwnztjZAlg7zz8kJz0dsWcX3DIYGAU0ExAZso7v3ye5oYu7hy2ZAprXwWTG shTs3q6x05WYTcaLBwVuU1Fcn8wQTFMMDxF62yJ8wI1x/JOd5zTl41r7ntZ8IguBZKDh qCm4HLpw9tfcrLn9sNzly0Ynmzi/IwLlHLPW+My7X9dnZI1VmnfWhG8jsvBhm4Jso/DC PFvCwzRH2r70ZdEKIUyLhAcglFp7v8GvLx7lhFyChZE9z0bbq22OrjxVgLgT6BegltFf i4kw== 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 df25si5264288edb.200.2021.05.17.05.38.31; Mon, 17 May 2021 05:38:55 -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 S235556AbhEQIAQ (ORCPT + 99 others); Mon, 17 May 2021 04:00:16 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:2996 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231977AbhEQIAL (ORCPT ); Mon, 17 May 2021 04:00:11 -0400 Received: from dggems706-chm.china.huawei.com (unknown [172.30.72.60]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FkBKg36FszmWrZ; Mon, 17 May 2021 15:56:39 +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:53 +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:53 +0800 From: Yang Shen To: , CC: , , Yang Shen Subject: [PATCH v2 08/24] net: calxeda: Fix wrong function name in comments Date: Mon, 17 May 2021 12:45:19 +0800 Message-ID: <20210517044535.21473-9-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/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 bbb453c6a5f7..b6a066404f4b 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.17.1