Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2430608pxj; Mon, 17 May 2021 01:04:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1e4ASge0T3JRPYIrEm3ssxq0VDEUvPidE30eq/ZPNA8WEtZXQzO8e+aHyV60d0joQovXJ X-Received: by 2002:a05:6402:1256:: with SMTP id l22mr35261540edw.207.1621238664859; Mon, 17 May 2021 01:04:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621238664; cv=none; d=google.com; s=arc-20160816; b=c7eAkUl06ixh1s3TG/cJKt/648CfndK/P7OgUiTkwx6GlXqvphjXfqspC0IUSy5fUE BefqpWpiP/CJRpXfxDkiirlSyfg4xwHAeHwvPzLCcPdsCw44h9ygXgO9DbAhkx4s997v LBM9XMiCazVD6zDPDnlkdln9JdlEnydQPeDv9SZLEvZNd1S+KvpgXNNKXHwCWmGVswz3 eOzmUCnQKLpwn4fd16NwSQMTRxfaaFmURj9SoAIrQPdg5KUu/3RSoQ2KwqhwuwywqJD2 w7cw0MoNZwSV+7mh8WtGUhOEzf1DPPU8Dg9j4gooSRVNLaoVZPmSes46O4GRkER/o7KM wy4w== 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=M1/lEYzsb7hZq8dvyYvxGtCa6PVbOL/yRgzZsh/qxw4=; b=R67tfvlCSClc9BZhIHE7nT5gN4PJjLrpRJGCAW1qHf/giLgPkQ2PutTr+fPqPL9m0Y eLTg3It5BDONkZzgwRwTUuv7VrO6HWndi2UD+87jyDMEQ/GEtftl0FbCr8Myl6Wpo8/g HG3vogakUA77RfnGOQ5yCEKMTyJJa2TI/QiwTU48jU9M1GH54zhkD0qpfJflin08FRt8 i8CJqnWFhLRIRZeJfyG6T5UhsR6KZHaJq1tymg2reepOfSUNcFhhaxwnLwbGAvfmUvGX DRW1YvjdoLY1M3tm8fYTGaUqHAbyidD62C0PVgf/mc1PM/SJF0MQbOeszPAGwOKxwmap yMBQ== 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 l18si7231784edv.57.2021.05.17.01.04.02; Mon, 17 May 2021 01:04:24 -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 S235780AbhEQIAq (ORCPT + 99 others); Mon, 17 May 2021 04:00:46 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3568 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235262AbhEQIAM (ORCPT ); Mon, 17 May 2021 04:00:12 -0400 Received: from dggems702-chm.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FkBK64sYLzmVYk; Mon, 17 May 2021 15:56:10 +0800 (CST) Received: from dggema704-chm.china.huawei.com (10.3.20.68) by dggems702-chm.china.huawei.com (10.3.19.179) 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:54 +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:54 +0800 From: Yang Shen To: , CC: , , Yang Shen , Tristram Ha Subject: [PATCH v2 13/24] net: micrel: Fix wrong function name in comments Date: Mon, 17 May 2021 12:45:24 +0800 Message-ID: <20210517044535.21473-14-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/micrel/ksz884x.c:2163: warning: expecting prototype for sw_get_board_storm(). Prototype was for sw_get_broad_storm() instead drivers/net/ethernet/micrel/ksz884x.c:2985: warning: expecting prototype for port_w_phy(). Prototype was for hw_w_phy() instead drivers/net/ethernet/micrel/ksz884x.c:4792: warning: expecting prototype for transmit_done(). Prototype was for tx_done() instead Cc: Tristram Ha Signed-off-by: Yang Shen --- drivers/net/ethernet/micrel/ksz884x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/micrel/ksz884x.c b/drivers/net/ethernet/micrel/ksz884x.c index 9ed264ed7070..3532bfe936f6 100644 --- a/drivers/net/ethernet/micrel/ksz884x.c +++ b/drivers/net/ethernet/micrel/ksz884x.c @@ -2153,7 +2153,7 @@ static void sw_cfg_broad_storm(struct ksz_hw *hw, u8 percent) } /** - * sw_get_board_storm - get broadcast storm threshold + * sw_get_broad_storm - get broadcast storm threshold * @hw: The hardware instance. * @percent: Buffer to store the broadcast storm threshold percentage. * @@ -2973,7 +2973,7 @@ static void hw_r_phy(struct ksz_hw *hw, int port, u16 reg, u16 *val) } /** - * port_w_phy - write data to PHY register + * hw_w_phy - write data to PHY register * @hw: The hardware instance. * @port: Port to write. * @reg: PHY register to write. @@ -4782,7 +4782,7 @@ static void transmit_cleanup(struct dev_info *hw_priv, int normal) } /** - * transmit_done - transmit done processing + * tx_done - transmit done processing * @hw_priv: Network device. * * This routine is called when the transmit interrupt is triggered, indicating -- 2.17.1