From patchwork Fri Apr 19 13:54:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 13636404 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 E4B7CC4345F for ; Fri, 19 Apr 2024 13:54:55 +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=t03kuO+c8EAF8c pCvpBSqFY3eiMqPFHmnf+CNpEa+k05ykEauGWP5lrKMRgtimVzOgDhjCEX2h06e57GI4ZMYetKzoq wVN6YVTRz8SkrHGN/gJUQgbo/PRV8E2H9LFLSZmJxNFznWHPtclca0xjV2Y//KJhfZCXdDhpKCQz4 UR9vI4DEoguMpl70LrFINFmzcwazNDzBhnXnEi4v/iU87/jecF3+z9qX04tKiVUuv9+hwbzo4njPJ MvnxkKaDxoHYT6FACOB7Igb2ci1iXtJmAANxXCAqH5yQ7DnsYSRkuH3YdMTRTgroeenluHeZfTgFI SUXR8QWA8kf536XDrtlw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxohR-00000005pyK-3AlC; Fri, 19 Apr 2024 13:54:45 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rxohE-00000005ppu-1moI for linux-arm-kernel@lists.infradead.org; Fri, 19 Apr 2024 13:54:33 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id A13FD619D7; Fri, 19 Apr 2024 13:54:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACDD7C2BD10; Fri, 19 Apr 2024 13:54:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713534871; bh=OzMRWBNo7YdxJfApr3lYhVNbuE/9Y2hLwnq4sc4mhUA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=cZ8+Jb59UMmrqX3TWyE1sHKT79qGxHbE72DvQX1xi3i9ASui2KXsYx/jDBNX4WpXi G7jQCJMqdgaN5W00ERcYJvgMezuBV/hfg64XWk+vpvS33RbNPLf4b9t0SYMMUBRPQe bPeRxf3mLDboz4nBRciNB1OKyHe8QbXzWTezsLQdO9olK0nrrbfT4JDbXLCq508lby /a/qUT47FvEglb5kMeiNB9mu9rcyeVhpijj3IGHknGnPs33hMn2UM9oqoW/WC6oPrF 0tXmBf3DhBC4xLVVvA/8Nc+IYuVHMvTLUHRRDz784SCwxoH0asGZU2fJXq5FUXhlyw JGTXYy2bD3edA== From: Simon Horman Date: Fri, 19 Apr 2024 14:54:17 +0100 Subject: [PATCH net-next 1/4] net: lan743x: Correct spelling in comments MIME-Version: 1.0 Message-Id: <20240419-lan743x-confirm-v1-1-2a087617a3e5@kernel.org> References: <20240419-lan743x-confirm-v1-0-2a087617a3e5@kernel.org> In-Reply-To: <20240419-lan743x-confirm-v1-0-2a087617a3e5@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-20240419_065432_561233_A80E1D33 X-CRM114-Status: GOOD ( 12.00 ) 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 --- 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;