From patchwork Wed Apr 24 15:13:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 13642026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 53EDDC10F15 for ; Wed, 24 Apr 2024 15:20:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4gccUObVeVf2lk9d+24OeBM44IDOb2dYL1cusvaWvoc=; b=sF0SSGk+o0NiJD g1SGQ/Rn2r4MnJ4Q5LmtzNuhK/ZUbRRMfpPwkXgsltEzYh9mGV6/7J3IlHmtjrbZ/rtLfBITEGmyP HTPTr8HHValGjOF04qYmpmKoBTD7cDuwPuR4esdEr9xuBOV7S0zCzdDvi1+FPBz3HGygd6wdWixKK 52NYwx206JIsJM+CIFtYEQes2wkbjRdUKvcxU2GIMDdtMiJVz3BmHUVRD7iCeFesoWYsZ7kpZGW07 3xhp/Cl+lLlLVtKvaOF/XMDWE8N2dRrgh7fRdf2PcTH79SBLRWzOzWGwpdY2tc7iXAQg+5rB1qarj E0YraLYVyFmIWeDScuJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzeQ7-00000004gOo-2LjU; Wed, 24 Apr 2024 15:20:27 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzeQ4-00000004gMn-0OOz for linux-arm-kernel@lists.infradead.org; Wed, 24 Apr 2024 15:20:25 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 2C40161BC2; Wed, 24 Apr 2024 15:20:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 405CEC2BD10; Wed, 24 Apr 2024 15:20:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713972022; bh=OzMRWBNo7YdxJfApr3lYhVNbuE/9Y2hLwnq4sc4mhUA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=PbdIyNNrTuvghwSb4KM23J7zlW6+4/Q+hO8mzVuOGhYnS1roLl0bKsTqS5q/CMETA Nw6AqwIgxa39rnHzYk2gQdPHvHDm/1uzwfijSBfM2238wAlljML+N0BXrRb2FjjCLF 4DnwXPncIGVNPLmLKuUiM8nGlM3XVcfnaVa1P4sA4pG/66uJWKRDNp9mpb3MNzWEUW K/aaFEnxp55OapPidZV+cdrgLpTTVkv9TMNKQD0zfGaydKTP0FbiVWKo59ZcOcRQrr rnJhS0Nu5mBpK3VGimbHZrHGtucWAcy28c63kR1VvvvoVxE7O4i1jc3AJHG6DGTofH SD9ANtOFPjyvQ== From: Simon Horman Date: Wed, 24 Apr 2024 16:13:23 +0100 Subject: [PATCH net-next v2 1/4] net: lan743x: Correct spelling in comments MIME-Version: 1.0 Message-Id: <20240424-lan743x-confirm-v2-1-f0480542e39f@kernel.org> References: <20240424-lan743x-confirm-v2-0-f0480542e39f@kernel.org> In-Reply-To: <20240424-lan743x-confirm-v2-0-f0480542e39f@kernel.org> To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Bryan Whitehead , Richard Cochran , Horatiu Vultur , Lars Povlsen , Steen Hegelund , Daniel Machon , UNGLinuxDriver@microchip.com, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-Mailer: b4 0.12.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240424_082024_219079_A5A108BA X-CRM114-Status: GOOD ( 11.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Correct spelling in comments, as flagged by codespell. Signed-off-by: Simon Horman Reviewed-by: Daniel Machon --- drivers/net/ethernet/microchip/lan743x_main.c | 4 ++-- drivers/net/ethernet/microchip/lan743x_ptp.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/microchip/lan743x_main.c b/drivers/net/ethernet/microchip/lan743x_main.c index d37a49cd5c69..cee47729d022 100644 --- a/drivers/net/ethernet/microchip/lan743x_main.c +++ b/drivers/net/ethernet/microchip/lan743x_main.c @@ -803,7 +803,7 @@ static int lan743x_mdiobus_read_c22(struct mii_bus *bus, int phy_id, int index) u32 val, mii_access; int ret; - /* comfirm MII not busy */ + /* confirm MII not busy */ ret = lan743x_mac_mii_wait_till_not_busy(adapter); if (ret < 0) return ret; @@ -868,7 +868,7 @@ static int lan743x_mdiobus_read_c45(struct mii_bus *bus, int phy_id, u32 mmd_access; int ret; - /* comfirm MII not busy */ + /* confirm MII not busy */ ret = lan743x_mac_mii_wait_till_not_busy(adapter); if (ret < 0) return ret; diff --git a/drivers/net/ethernet/microchip/lan743x_ptp.c b/drivers/net/ethernet/microchip/lan743x_ptp.c index 2801f08bf1c9..80d9680b3830 100644 --- a/drivers/net/ethernet/microchip/lan743x_ptp.c +++ b/drivers/net/ethernet/microchip/lan743x_ptp.c @@ -555,7 +555,7 @@ static int lan743x_ptp_perout(struct lan743x_adapter *adapter, int on, if (half == wf_high) { /* It's 50% match. Use the toggle option */ pulse_width = PTP_GENERAL_CONFIG_CLOCK_EVENT_TOGGLE_; - /* In this case, devide period value by 2 */ + /* In this case, divide period value by 2 */ ts_period = ns_to_timespec64(div_s64(period64, 2)); period_sec = ts_period.tv_sec; period_nsec = ts_period.tv_nsec;