Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1142982pxj; Sat, 15 May 2021 05:16:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzeaZ0of1HPzuflfy+ojAzGe2bjvFX8ggVx/Z5KRt0sagYtF2By9iOo+DZh7V/kBpWownoE X-Received: by 2002:a17:906:2854:: with SMTP id s20mr25836328ejc.335.1621080994440; Sat, 15 May 2021 05:16:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621080994; cv=none; d=google.com; s=arc-20160816; b=WOWkvxHeXm6o1VHw0cfwSTZzUiHJHZs9vIRNDNxkf7la0MiZlD9irUZZ0fm+q6m3b7 mCd3Jb6LvU0nlusPhveX9hwrsxldZYcTBYrhMNmc4f1vPdM6ejJW5rueCEoHHEx57TbJ O4sfaj0JlzoEDwpnUaQtsAiYNvqJbT5iLT7WofFg9kgNDQ3u6pXJo5/HmX4ltY8kHLtZ 8CUv1P3BGoph1nv0eGPIBPML7shpHpRV+g70nEYndRwMwb/fCREPYcLDVZ2X7gGHx3r0 QLPbXuNwVPO8hJHXjS2dQdAbL3UU4bTJ5my4iUYUJtoxeJmXQ343guGVT0AGDKbtfovL 0uBw== 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=lI82gY04usj0CugNTt81vHD0siuxOvEyAdlnjOch9XY=; b=FfpSzLd+Cp+DeQq8jkkiNiOQROC11bEBUh7e1dxNq2wQa3B8NAsnuWCed9JzY05tt3 Oung3mV9fkFMu50oKlnkf0NvCOCj/I1IHm6Q5kqBQC2qBLwZ36nO2NSCrT43emi8fE23 iSWUi6Hi4GoAy8HH3WcmJIoKbVWUOZdLzKMFWLjRIE4lCbHPFYkPicBdf4UHQuGcQdNi EvwdBg0acyt9Ev173Seji7gPRNoVt3ZU6r2oT0mVBBSMuob4+f3MchEVGIJM8iI1MNz5 o5ITM+Anc9NmaTuXQemE9WS4hzAayfe1iwK62ENjUOisHNw9kgjBGbR2IVFRAE4Z5QQJ sR9A== 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 gz4si8772738ejc.241.2021.05.15.05.16.10; Sat, 15 May 2021 05:16:34 -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 S235138AbhEOK5H (ORCPT + 99 others); Sat, 15 May 2021 06:57:07 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3542 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232200AbhEOKzr (ORCPT ); Sat, 15 May 2021 06:55:47 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fj2Jh5HHLzsRB8; 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 03/34] net: atheros: atl1e: Fix wrong function name in comments Date: Sat, 15 May 2021 18:53:28 +0800 Message-ID: <1621076039-53986-4-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/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 --- 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 ff9f96d..2eb0a2a 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.7.4