From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D0A1C433E6 for ; Fri, 8 Jan 2021 04:05:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 54036236FB for ; Fri, 8 Jan 2021 04:05:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726938AbhAHEEr (ORCPT ); Thu, 7 Jan 2021 23:04:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725965AbhAHEEq (ORCPT ); Thu, 7 Jan 2021 23:04:46 -0500 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3EE5C0612F5; Thu, 7 Jan 2021 20:04:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=yIAE2JvjrEcvgRGTFdqvtdjqYhZLL3+YzzRkNV3NO7s=; b=TD4OnrYAcyOrinAUpDgkqivEnC Tjw8sn1KpLn4OwZ6I+xx2M0TxDOxhiNC5VFdCflj0J519FmhYDuAagUw1EtRvtb482Cfb2KQRMdo7 YrkT5vHkkmGGVmm/sMvnmk4hoqfPQbFkJqEtuxG/XMG1T+X09oNYgccGej1m4HTyMSBooxfbT8Y1a QaAlPUWys937eBMtXTenrFQCkvqpqX9YA5HEKe0fh6ye8E1in4Rva/MjOgCMPI1X+MdriUxnOcDd3 NtPIH9Vyv/vZWyoyvoYHyFc/dsxhNAnk3dKToFsdC9dkicXfLqaaJua/+/sx8ANJZ42heaNaDznMu UvLFLiyQ==; Received: from [2601:1c0:6280:3f0::79df] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kxj0I-00078D-AZ; Fri, 08 Jan 2021 04:03:58 +0000 Subject: Re: [PATCH net-next] net/bridge: fix misspellings using codespell tool To: menglong8.dong@gmail.com, roopa@nvidia.com Cc: nikolay@nvidia.com, davem@davemloft.net, kuba@kernel.org, bridge@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Menglong Dong References: <20210108025332.52480-1-dong.menglong@zte.com.cn> From: Randy Dunlap Message-ID: <295b1d84-a49c-cdaa-e7fa-bbe492aa1496@infradead.org> Date: Thu, 7 Jan 2021 20:03:49 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20210108025332.52480-1-dong.menglong@zte.com.cn> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/7/21 6:53 PM, menglong8.dong@gmail.com wrote: > From: Menglong Dong > > Some typos are found out by codespell tool: > > $ codespell ./net/bridge/ > ./net/bridge/br_stp.c:604: permanant ==> permanent > ./net/bridge/br_stp.c:605: persistance ==> persistence > ./net/bridge/br.c:125: underlaying ==> underlying > ./net/bridge/br_input.c:43: modue ==> mode > ./net/bridge/br_mrp.c:828: Determin ==> Determine > ./net/bridge/br_mrp.c:848: Determin ==> Determine > ./net/bridge/br_mrp.c:897: Determin ==> Determine > > Fix typos found by codespell. > > Signed-off-by: Menglong Dong LGTM. Thanks. Acked-by: Randy Dunlap > --- > net/bridge/br.c | 2 +- > net/bridge/br_input.c | 2 +- > net/bridge/br_mrp.c | 6 +++--- > net/bridge/br_stp.c | 4 ++-- > 4 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/net/bridge/br.c b/net/bridge/br.c > index 1b169f8e7491..ef743f94254d 100644 > --- a/net/bridge/br.c > +++ b/net/bridge/br.c > @@ -122,7 +122,7 @@ static int br_device_event(struct notifier_block *unused, unsigned long event, v > break; > > case NETDEV_PRE_TYPE_CHANGE: > - /* Forbid underlaying device to change its type. */ > + /* Forbid underlying device to change its type. */ > return NOTIFY_BAD; > > case NETDEV_RESEND_IGMP: > diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c > index 8ca1f1bc6d12..222285d9dae2 100644 > --- a/net/bridge/br_input.c > +++ b/net/bridge/br_input.c > @@ -40,7 +40,7 @@ static int br_pass_frame_up(struct sk_buff *skb) > > vg = br_vlan_group_rcu(br); > /* Bridge is just like any other port. Make sure the > - * packet is allowed except in promisc modue when someone > + * packet is allowed except in promisc mode when someone > * may be running packet capture. > */ > if (!(brdev->flags & IFF_PROMISC) && > diff --git a/net/bridge/br_mrp.c b/net/bridge/br_mrp.c > index cec2c4e4561d..fc0a98874bfc 100644 > --- a/net/bridge/br_mrp.c > +++ b/net/bridge/br_mrp.c > @@ -825,7 +825,7 @@ int br_mrp_start_in_test(struct net_bridge *br, > return 0; > } > > -/* Determin if the frame type is a ring frame */ > +/* Determine if the frame type is a ring frame */ > static bool br_mrp_ring_frame(struct sk_buff *skb) > { > const struct br_mrp_tlv_hdr *hdr; > @@ -845,7 +845,7 @@ static bool br_mrp_ring_frame(struct sk_buff *skb) > return false; > } > > -/* Determin if the frame type is an interconnect frame */ > +/* Determine if the frame type is an interconnect frame */ > static bool br_mrp_in_frame(struct sk_buff *skb) > { > const struct br_mrp_tlv_hdr *hdr; > @@ -894,7 +894,7 @@ static void br_mrp_mrm_process(struct br_mrp *mrp, struct net_bridge_port *port, > br_mrp_ring_port_open(port->dev, false); > } > > -/* Determin if the test hdr has a better priority than the node */ > +/* Determine if the test hdr has a better priority than the node */ > static bool br_mrp_test_better_than_own(struct br_mrp *mrp, > struct net_bridge *br, > const struct br_mrp_ring_test_hdr *hdr) > diff --git a/net/bridge/br_stp.c b/net/bridge/br_stp.c > index 3e88be7aa269..a3a5745660dd 100644 > --- a/net/bridge/br_stp.c > +++ b/net/bridge/br_stp.c > @@ -601,8 +601,8 @@ int __set_ageing_time(struct net_device *dev, unsigned long t) > /* Set time interval that dynamic forwarding entries live > * For pure software bridge, allow values outside the 802.1 > * standard specification for special cases: > - * 0 - entry never ages (all permanant) > - * 1 - entry disappears (no persistance) > + * 0 - entry never ages (all permanent) > + * 1 - entry disappears (no persistence) > * > * Offloaded switch entries maybe more restrictive > */ > -- ~Randy https://people.kernel.org/tglx/notes-about-netiquette https://www.kernel.org/doc/html/latest/process/submit-checklist.html