Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1138369pxj; Sat, 15 May 2021 05:08:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlaCmTZjWg5s4c6ezZNgdSl1un0Z8FjE3Zjt0SJIRbyE/lEqvZ0wpAaAG840TY9JID2zAz X-Received: by 2002:a05:6402:6cd:: with SMTP id n13mr62633448edy.330.1621080515633; Sat, 15 May 2021 05:08:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621080515; cv=none; d=google.com; s=arc-20160816; b=Dk6MhHjRNk35GSrZtJJmd+5vBIj9Wq4/4T4p2vAMrzVbnIJraLDTt4l6XcIircZzjj fIMQhNyKgjxs7cBHEp+fVB5X5rLM1cGYVZVtqWUgDRWC8K383vk1HdOGttNWaCPH1oVM rRKHZMsIC4sj4U+Miiolv0y7x0QrImP5rzzIrrm3LHy7RDMaTVUVOAUWWqwRITxeXUur ukEyNwt3QfTAZK0oNaOVj8jSx4Esq4FOhCUoXkKnQzjMJFefD7ISaXz1B5gRY0TOEUqB /V+g7Ln4INZxj7QB3jByuss7PaNS/GdgjBjZqwPS3uHQTfNhex++0GQCP5LPYYCW3xwE o+KQ== 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=/viFgzfjWqC89BSnOTn0FpAJGqy/SE0wsYhcMTWa9ho=; b=BAk7JBcUOXoWYe2R1j8kkc9yg/m/uyyDfn2UUyJhRftQAJqC1M+JOQM/Okse8N6+4g 9+n2j4vWR3ZGq5E4ybsXcLBWREaEdzUVh5b8wXYuL86co0oq+HsN11MkdrprhtiXvGyf wnqbDMQ135pnbg6nhKuW03yWr8TnTc3ZE+EUQ5zS2GrXEobFRSbk4aRWXIgR1iSKG3ph Fe3PsL+I44bw85MpCwEXOKlJxAPl/BZVZ9ISkVdN29fGyLAC/50Vabmrte5OUcUZcmKr CngQAuvENVi/vlNjqEDXKd3Nzi2BhlwVGFxyJMn0TvKrGayzMG9/ia78Qqo8BfMJUvDo rK1w== 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.08.11; Sat, 15 May 2021 05:08:35 -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 S232816AbhEOK4B (ORCPT + 99 others); Sat, 15 May 2021 06:56:01 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:2603 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbhEOKzp (ORCPT ); Sat, 15 May 2021 06:55:45 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fj2Jh3MTqzsR7d; 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:24 +0800 From: Yang Shen To: , CC: , , Yang Shen , Tristram Ha Subject: [PATCH 13/34] net: micrel: Fix wrong function name in comments Date: Sat, 15 May 2021 18:53:38 +0800 Message-ID: <1621076039-53986-14-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/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 9ed264e..3532bfe 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.7.4