Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2428371pxj; Mon, 17 May 2021 01:01:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyebzh04M2MmUnxRqOPFM/iB1gS4bGRVuc8Y6xcsghNeOaLdZU3DcLpo2Pnx0E8QGXC3Le/ X-Received: by 2002:a17:906:5fd1:: with SMTP id k17mr7102042ejv.78.1621238486652; Mon, 17 May 2021 01:01:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621238486; cv=none; d=google.com; s=arc-20160816; b=eMWJuyfNgyJVuMKXR5Mr4hUz6LXA7SXYsXnEBp8jC+JK/OSmJjXhWV4h5Zznwkn4hI RHlfSrFqz/PFAn9FXZV2i9UEKvWJUmhHfyud0lNqah5fQDkIkyFQOimHdEJ//65HSLc8 HYOLbdWmoommyCwARcWxuR2tKmRVqQ2FoS8vg88Z8ak5CrCUZFGy19TVK+S0yaNa2ieP 1Kkj9WsIiy1f4p8Gps6BiT0hGWa6bdk9XvZYLZlMABgykF6wrhFqx89XRZ4RDhyc7uWe teRm/KQlCq50DYmHxeFpvi8IRfWwHss9LAHaFEOLxQazGSU/w1JAD8gPdZ88YmDZJwA/ 4XWg== 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=wNENBs3bWfd67ymX7fy64feNxPT7f246Flf1Mz7Lgw8=; b=dJbNk1ODhzVMw6HSB+YZ/9552biiIW1Fu+UEGxrA7vSnuG/ptdZoYq8hlHHDFNJgTe UmTnxf4NwvMwUVAib0VrZA986xbVR6EKfwa1e50jFmERW0fbQn+BLlLVTfPtO3ABCT3l q/a3d/nya6PH0/lFEj6l1s78OdlfZX0UclsLWoHfhVgQ8ktjEQDzzMNbJgUVd1m4ZLXM tsGKHjGXxf1DPn3CViruciM1ZRwqsIFHUKCQ1wSKSqUIvUgXvimXbpOjLMnvF+GFx1oY SnsF5xnrGx/uZa6xod4UpY673FSnWy0VFd+CLmbKSolf93aD+RMCgxfrSipPugKbONAn ahnw== 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 rh9si15280810ejb.139.2021.05.17.01.01.03; Mon, 17 May 2021 01:01:26 -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 S235570AbhEQIAS (ORCPT + 99 others); Mon, 17 May 2021 04:00:18 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:2997 "EHLO szxga06-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232431AbhEQIAL (ORCPT ); Mon, 17 May 2021 04:00:11 -0400 Received: from dggems701-chm.china.huawei.com (unknown [172.30.72.60]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4FkBKf5XpDzmWdl; Mon, 17 May 2021 15:56:38 +0800 (CST) Received: from dggema704-chm.china.huawei.com (10.3.20.68) by dggems701-chm.china.huawei.com (10.3.19.178) 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 04/24] net: atheros: atl1x: Fix wrong function name in comments Date: Mon, 17 May 2021 12:45:15 +0800 Message-ID: <20210517044535.21473-5-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/atlx/atl1.c:1020: warning: expecting prototype for atl1_setup_mem_resources(). Prototype was for atl1_setup_ring_resources() instead Cc: Chris Snook Signed-off-by: Yang Shen Reviewed-by: Andrew Lunn --- drivers/net/ethernet/atheros/atlx/atl1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/atheros/atlx/atl1.c b/drivers/net/ethernet/atheros/atlx/atl1.c index eaf96d002fa5..c67201a13cf5 100644 --- a/drivers/net/ethernet/atheros/atlx/atl1.c +++ b/drivers/net/ethernet/atheros/atlx/atl1.c @@ -1011,7 +1011,7 @@ static int atl1_mii_ioctl(struct net_device *netdev, struct ifreq *ifr, int cmd) } /** - * atl1_setup_mem_resources - allocate Tx / RX descriptor resources + * atl1_setup_ring_resources - allocate Tx / RX descriptor resources * @adapter: board private structure * * Return 0 on success, negative on failure -- 2.17.1