From patchwork Thu Aug 24 18:32:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 13364569 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 DDB85C6FA8F for ; Thu, 24 Aug 2023 18:33:47 +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=CZZ7cdvEqd6JJRg6Ferok2cqsl9+aJYQD0TAvs5/kLk=; b=nqA49foI/+NbrC w1aUoIwjOg6EaLMT2wk5GLmo5mcMhQMjOmh4d39fZMiTsuEsm7gKxgZRjxRyVUem+438oh2eKvfiF 4NfFBtJsj+RF2J+ScAFKEl8iIN7vZLna4FmK15OzNeeSaNq7hh+MjFXkT1QXeLWemFMNrHIeybPms btpYotRYRTVUR63kRsUMjhAWm2O2HFpszIMn2se0dD8ck3AKa1bp+BWgQrnKsB/ULTX1Vt8B3ErsZ OTgByejOPEaPkeyQFbpyFe9b2S2EC/1zMQWujE50P68uhHzu94Ac2asMquq7l+7HBKOe8JqwEz/03 hh8mMQcS2Z2FjmS7kXqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qZF8t-003b56-0v; Thu, 24 Aug 2023 18:33:15 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qZF8k-003b0R-2l for linux-arm-kernel@lists.infradead.org; Thu, 24 Aug 2023 18:33:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692901986; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kLlThC3R9OImoZ+MRsaHGOa2SVCnd5iJ51KhprNayB4=; b=VDxrOLOquTvM3Ira8HvBBKz1/e+ymoKoCLt2OYq5aiOmEBxJhlp3svO7qE3EjISsnFjaoG Pdl0ZGv8PFTyTRgZTHGKoz8VU/x7UXH22YuGmj/sbHLLTyG28mx0MJ6J70ppVoZRAjgTbI 6Uu2jpnH/VEJ4mSBex998l984eNz7os= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-694-hJZ7QlLEMBezK_h7fntthQ-1; Thu, 24 Aug 2023 14:33:04 -0400 X-MC-Unique: hJZ7QlLEMBezK_h7fntthQ-1 Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-6491907dba4so2022866d6.1 for ; Thu, 24 Aug 2023 11:33:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692901984; x=1693506784; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kLlThC3R9OImoZ+MRsaHGOa2SVCnd5iJ51KhprNayB4=; b=GOMnCANoc8UTfJt3R9XdIMJzIqYmqI/e/Ksup8ynw7pCSru1dVoopEx9Pztgrozy1c MHrIQdk+JqY4YqxrPnMzSiu1gQzOjCXOSoUJU1iWxHuKUbS/jEQlYACYYfNL2O1x0WO8 EecjTI9pNMosRSOlsLKKaUO7D2V0N9Ix+qFAapn8Dx0pseV7z7A/E2DpurQ/gLXCTKR8 5ojLhayYiGiPF3UE8hmyu+4dzLbmCNTbpnoliMdgHc+8XbZDMI6zb38AMhVVQD4IKWwL mKtQGKFzTZDI+ap4wAyUr6KsGu4PGMtjQsL1E2dIA6YIX8mgg1hqvCABUcXdBXHAkiVz IBFA== X-Gm-Message-State: AOJu0Yw3GigSjwupDTFMv1mF3gYwBVnQjmpkjPkubkCbA+qPLcfBckmZ 66pErRgj/W0nmo/oxXAW+XXe1lNRok0lJEJZrKd3aWwHhxkrV6BT7hUw5MyD+Ajc7hQfUS2Ui06 Z+oVCTp11b/VwAmME90MbqIraWyLwjigYsesKI+eHDXA= X-Received: by 2002:a05:6214:ac9:b0:64b:926a:e7fc with SMTP id g9-20020a0562140ac900b0064b926ae7fcmr19233931qvi.21.1692901984163; Thu, 24 Aug 2023 11:33:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/pC6Ozwx0rjBhGbBoQuQPKXeDRWWo7/yf47bHb2XuaionNEwEaUXyApPQsLo9pKSgtTNXGg== X-Received: by 2002:a05:6214:ac9:b0:64b:926a:e7fc with SMTP id g9-20020a0562140ac900b0064b926ae7fcmr19233915qvi.21.1692901983920; Thu, 24 Aug 2023 11:33:03 -0700 (PDT) Received: from [192.168.1.165] ([2600:1700:1ff0:d0e0::37]) by smtp.gmail.com with ESMTPSA id j17-20020a0ceb11000000b0064f77d37798sm4209qvp.5.2023.08.24.11.33.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Aug 2023 11:33:03 -0700 (PDT) From: Andrew Halaney Date: Thu, 24 Aug 2023 13:32:56 -0500 Subject: [PATCH net-next 5/7] net: stmmac: Correct addend typo MIME-Version: 1.0 Message-Id: <20230824-stmmac-subsecond-inc-cleanup-v1-5-e0b9f7c18b37@redhat.com> References: <20230824-stmmac-subsecond-inc-cleanup-v1-0-e0b9f7c18b37@redhat.com> In-Reply-To: <20230824-stmmac-subsecond-inc-cleanup-v1-0-e0b9f7c18b37@redhat.com> To: Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Richard Cochran Cc: netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Andrew Halaney X-Mailer: b4 0.12.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230824_113306_969213_9E5E5D29 X-CRM114-Status: GOOD ( 11.12 ) 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 added should be addend in this context. Signed-off-by: Andrew Halaney --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c index 20ef068b3e6b..dfead0df6163 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c @@ -853,7 +853,7 @@ int stmmac_init_tstamp_counter(struct stmmac_priv *priv, u32 systime_flags) /* Store sub second increment for later use */ priv->sub_second_inc = sub_second_inc; - /* calculate default added value: + /* calculate default addend value: * formula is : * addend = (2^32)/freq_div_ratio; * where, freq_div_ratio = 1e9ns/sub_second_inc