Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1395039pxj; Sat, 15 May 2021 13:23:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpBzA2D7BRlybyJF4jMoJEM+PnkEjBqgsxnbNFySn8Fps5WjBfkHJGwROennfN+W/OSIH4 X-Received: by 2002:a17:906:bc86:: with SMTP id lv6mr2784091ejb.333.1621110203706; Sat, 15 May 2021 13:23:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621110203; cv=none; d=google.com; s=arc-20160816; b=Hltsf1jauHy+3qXqoOp7EvJ+9BvV/29e+LBqJpGbPRsLzCW9xq791KcuMyABNKKis8 GAV759vtBmKbxpg1YbBIOroap2gknqrlDOfxxNXBVVAZ/wGftN2OU5v8juXlHuthVHBF hFDVKDg/KDDkPuBwdMuMiBnK/SWUhj8cfSi5Tbvu80MRDkol7IJs2A2oNsg7fayJpwI4 5AEMjZaJNCHBLFDVus7N4v/9ajyV2Jh9bxXwlKTkwKI913r5CA2POy99cyCkP0tl9+dB q4BVMtRdA/m2Fj21YmA3VbP7XUeLxH4tiViPgZxXROZMAfL7AXZ5ZG3nU9nA+lAC+S6E hHPQ== 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=84AA6pinuSalapkLKFXrueAoAdil7pNz966Oo+MdiZY=; b=hdsq2WmFaRfQiHcg0Kn0RyTcX1Oz4jf/AQLeRjifFc8NirH1TRSToB7ncz5GM4aD1D v4DLCDiZohhbvSJIeDnSly4AGgSxWd5m/yrziFK5+6IXFnZd8XOf31yKLWenY/7gZZru x6lrTGR0EPRagmadEKIl6P21tu9JHdx5G0kxhoq55GBDhlFsWMOxoDXpZ1KCoVegnrRX IFHJc9qHmu8bBzyjxc5aPeyhdiMMSS6hi7+Bx22DrceP6vKNO4ejADbnKqjYjbdRAA/D AWHrcKqYkkcQQg2V8f+3kXpoPIZI7SlttRcNc9DH76Co+Gez/b7rLEYBYa/YKG1iEQ/o eqzQ== 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 ch13si2337610ejb.305.2021.05.15.13.22.59; Sat, 15 May 2021 13:23:23 -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 S235305AbhEOK6c (ORCPT + 99 others); Sat, 15 May 2021 06:58:32 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3548 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232975AbhEOKzy (ORCPT ); Sat, 15 May 2021 06:55:54 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fj2Jn4zHHzsRHC; Sat, 15 May 2021 18:51:53 +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:28 +0800 From: Yang Shen To: , CC: , , Yang Shen , Francois Romieu Subject: [PATCH 22/34] net: via: Fix wrong function name in comments Date: Sat, 15 May 2021 18:53:47 +0800 Message-ID: <1621076039-53986-23-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/via/via-velocity.c:1908: warning: expecting prototype for tx_srv(). Prototype was for velocity_tx_srv() instead drivers/net/ethernet/via/via-velocity.c:2466: warning: expecting prototype for velocity_get_status(). Prototype was for velocity_get_stats() instead drivers/net/ethernet/via/via-velocity.c:3734: warning: expecting prototype for velocity_cleanup(). Prototype was for velocity_cleanup_module() instead Cc: Francois Romieu Signed-off-by: Yang Shen --- drivers/net/ethernet/via/via-velocity.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/via/via-velocity.c b/drivers/net/ethernet/via/via-velocity.c index fecc4d7..88426b5 100644 --- a/drivers/net/ethernet/via/via-velocity.c +++ b/drivers/net/ethernet/via/via-velocity.c @@ -1897,7 +1897,7 @@ static void velocity_error(struct velocity_info *vptr, int status) } /** - * tx_srv - transmit interrupt service + * velocity_tx_srv - transmit interrupt service * @vptr: Velocity * * Scan the queues looking for transmitted packets that @@ -2453,7 +2453,7 @@ static int velocity_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) } /** - * velocity_get_status - statistics callback + * velocity_get_stats - statistics callback * @dev: network device * * Callback from the network layer to allow driver statistics @@ -3723,7 +3723,7 @@ static int __init velocity_init_module(void) } /** - * velocity_cleanup - module unload + * velocity_cleanup_module - module unload * * When the velocity hardware is unloaded this function is called. * It will clean up the notifiers and the unregister the PCI -- 2.7.4