Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2429699pxj; Mon, 17 May 2021 01:03:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz48ekzT0e/SZ3UqCLE5JjKpBs73zdiu9SSMwmfHVxPRvdgSP6cpVCSk8EpZTcQOmZOPEZx X-Received: by 2002:aa7:d50a:: with SMTP id y10mr3837857edq.161.1621238591980; Mon, 17 May 2021 01:03:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621238591; cv=none; d=google.com; s=arc-20160816; b=DBJX6I5RpOr7xakMg+bIDPCOQKBC/VAhAp9HCLXA6DBGW3ubY/h5rqdxC5wnyuSwFI TD9WBMEUx9Z/tWBcB5FS+7qGytZTa9H50D8Bwnu5Ybj+TOaXdqQC+8Vn6hwdQGvUFDgS uTaupdeX5henq9M7Kxy5JWKh4KUpd+rHWZTDb0iY15K5lMbiQ8ovwDWNJQ23uddELysp 8aA/SS17a53dRbs4+0ed/zBHb5HLPn21dc8azYSEhreP8KmlyfzXoPfUR+ZZ59DAYcSB wi4tqLMzHNLBaOKELZYs+4SEGRYjFeUZr31xReSRBNAaej9auoC2uIzA8FYOZ75SvtnP v/oA== 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=UaWsKZIlklXBvJIpKH9c1kQ9zx2owcAyEqifQAsuvfI=; b=fZejsrEI6sZbbdDm9hsty2/ho/x4448J1Tp9E9xtHaaC0/mEO7yR1Gd97cSaJ0RyTN 8urzpFsVjfozc9pBm4ApXEsshHLRlduw7Eqj6vKIRvH1ilKhH1niSdqHpgoo3rIEv+EI lRVQBNQI1Utz3inv5X6ZHoicFdbeRCxU689F1Motd+54EZvjU5/ILv2jR71o7SOax9oo eruJO0xjN63jdaoem8xR0hzUFckyUU9401Os/h/olLegyn59xRPvT44mhwEzWpdOxi1B 0p+QqCj8mP12BsI6T00hCND85wTK71EIb+ACJAfxk7xwA0wnnEXRS33LTz5FgBw25ZKk 3nRw== 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 ec2si13762246ejb.189.2021.05.17.01.02.49; Mon, 17 May 2021 01:03:11 -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 S235482AbhEQIAM (ORCPT + 99 others); Mon, 17 May 2021 04:00:12 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2988 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232919AbhEQIAL (ORCPT ); Mon, 17 May 2021 04:00:11 -0400 Received: from dggems704-chm.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FkBJF1tJCzQpWB; Mon, 17 May 2021 15:55:25 +0800 (CST) Received: from dggema704-chm.china.huawei.com (10.3.20.68) by dggems704-chm.china.huawei.com (10.3.19.181) 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:52 +0800 From: Yang Shen To: , CC: , , Yang Shen , Chris Snook Subject: [PATCH v2 03/24] net: atheros: atl1e: Fix wrong function name in comments Date: Mon, 17 May 2021 12:45:14 +0800 Message-ID: <20210517044535.21473-4-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/atheros/atl1e/atl1e_main.c:367: warning: expecting prototype for atl1e_set_mac(). Prototype was for atl1e_set_mac_addr() instead drivers/net/ethernet/atheros/atl1e/atl1e_main.c:796: warning: expecting prototype for atl1e_setup_mem_resources(). Prototype was for atl1e_setup_ring_resources() instead Cc: Chris Snook Signed-off-by: Yang Shen Reviewed-by: Andrew Lunn --- drivers/net/ethernet/atheros/atl1e/atl1e_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/atheros/atl1e/atl1e_main.c b/drivers/net/ethernet/atheros/atl1e/atl1e_main.c index ff9f96de74b8..2eb0a2ab69f6 100644 --- a/drivers/net/ethernet/atheros/atl1e/atl1e_main.c +++ b/drivers/net/ethernet/atheros/atl1e/atl1e_main.c @@ -357,7 +357,7 @@ static void atl1e_restore_vlan(struct atl1e_adapter *adapter) } /** - * atl1e_set_mac - Change the Ethernet Address of the NIC + * atl1e_set_mac_addr - Change the Ethernet Address of the NIC * @netdev: network interface device structure * @p: pointer to an address structure * @@ -787,7 +787,7 @@ static void atl1e_free_ring_resources(struct atl1e_adapter *adapter) } /** - * atl1e_setup_mem_resources - allocate Tx / RX descriptor resources + * atl1e_setup_ring_resources - allocate Tx / RX descriptor resources * @adapter: board private structure * * Return 0 on success, negative on failure -- 2.17.1