Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1143278pxj; Sat, 15 May 2021 05:17:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz0H3qnScLckzsWSSyStWWNS3fJ8plyeUi3a/OYTH674bAF4BalO0DMm68Il3KF3KMfUFTn X-Received: by 2002:a17:906:3042:: with SMTP id d2mr53340103ejd.234.1621081030758; Sat, 15 May 2021 05:17:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621081030; cv=none; d=google.com; s=arc-20160816; b=mPAws5B8hkteUFtqkQhd/n0+X917TfLw4K8uxdPljL/Emb2/Ztd7+dj7EDEctY0isG Jk5hprUErKkR/IbLwAokNZgLRViZakMS3NnO+5q2KUVSa7zYl8mMn1giwWvMTTuz6273 +3XFlU8rG9rOFQIm7iqKeEeHgGQBwu1Vyh0ioa2fyIn7qBi+LgjyMlZAFxP5ZcGQL0Hj lrt69TiLbTBAvHngza6Cbg0chUlztdxaIPpvadwnmfx7nlB+sT2TqGN+6y2Ui6o5fxwF IAFnWc3piTzlgD+8kARt1HqjpzTfL6W4NcRxSR/7aFaexgNGDqRMc0Paom+tYBHilDFD iFTQ== 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=y6fVgyjHAxPN4jQ1rfqcsU9VTVjWqb4xcTxTXvsvIBY=; b=zlFgMBtOTX3HlBSdWEK8IY5eqrLJmj1nD6ap1efD+HDyy/3saju5wFnamFTfMBIA+9 ZmMUXBiO9ujzyKWnOyssskz/B5US5IrL9X16N8IMJWqbm48laFTDqOPsnxW25vHCW0kn GNQ3OX7NScTruG9o50hJQ0qFntaJFa7FDr4y2PutWis8smrUYvVz1jlJ7zRsF8jegQ2r hIR+YKkAzqZYzNWzx2O7JVN5ro1p+BhKSdx80PKzQAZCiCVD5frpabE+jx26nNHz0rzZ mJb9iAmNcW/gQaNMCsPXCYkBJjnAPL8l0LGjT8N/Cove9nSKWuAJL7my5eNc7pbpW6K3 ABQQ== 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 l23si10454059ejb.573.2021.05.15.05.16.46; Sat, 15 May 2021 05:17:10 -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 S235153AbhEOK5M (ORCPT + 99 others); Sat, 15 May 2021 06:57:12 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3543 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232289AbhEOKzs (ORCPT ); Sat, 15 May 2021 06:55:48 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fj2Jh3bxyzsR8d; 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:21 +0800 From: Yang Shen To: , CC: , , Yang Shen , Chris Snook Subject: [PATCH 02/34] net: atheros: atl1c: Fix wrong function name in comments Date: Sat, 15 May 2021 18:53:27 +0800 Message-ID: <1621076039-53986-3-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/atheros/atl1c/atl1c_main.c:442: warning: expecting prototype for atl1c_set_mac(). Prototype was for atl1c_set_mac_addr() instead drivers/net/ethernet/atheros/atl1c/atl1c_main.c:969: warning: expecting prototype for atl1c_setup_mem_resources(). Prototype was for atl1c_setup_ring_resources() instead drivers/net/ethernet/atheros/atl1c/atl1c_main.c:1375: warning: expecting prototype for atl1c_configure(). Prototype was for atl1c_configure_mac() instead Cc: Chris Snook Signed-off-by: Yang Shen --- drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c index 740127a..77da1c5 100644 --- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c +++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c @@ -432,7 +432,7 @@ static void atl1c_restore_vlan(struct atl1c_adapter *adapter) } /** - * atl1c_set_mac - Change the Ethernet Address of the NIC + * atl1c_set_mac_addr - Change the Ethernet Address of the NIC * @netdev: network interface device structure * @p: pointer to an address structure * @@ -960,7 +960,7 @@ static void atl1c_free_ring_resources(struct atl1c_adapter *adapter) } /** - * atl1c_setup_mem_resources - allocate Tx / RX descriptor resources + * atl1c_setup_ring_resources - allocate Tx / RX descriptor resources * @adapter: board private structure * * Return 0 on success, negative on failure @@ -1366,7 +1366,7 @@ static void atl1c_set_aspm(struct atl1c_hw *hw, u16 link_speed) } /** - * atl1c_configure - Configure Transmit&Receive Unit after Reset + * atl1c_configure_mac - Configure Transmit&Receive Unit after Reset * @adapter: board private structure * * Configure the Tx /Rx unit of the MAC after a reset. -- 2.7.4