From nobody Sun Apr 12 06:07:41 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 40459C19F2B for ; Sat, 30 Jul 2022 09:24:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234053AbiG3JYf (ORCPT ); Sat, 30 Jul 2022 05:24:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230039AbiG3JYd (ORCPT ); Sat, 30 Jul 2022 05:24:33 -0400 Received: from mail-m975.mail.163.com (mail-m975.mail.163.com [123.126.97.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 39B5A371BA; Sat, 30 Jul 2022 02:24:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=hF2DO aRt/pxHxZxnmPjeSO4oUxx6kb1yBjEEW0805qk=; b=f9KbprtUT5ZHEjIG0xV08 d3hPGZKipzcFzru0/70SY27BPhfX5G6IygV8jvpX8zn0JsOOrCqDTBomTQXxt0+H pzGWekuLQmpfsI2UNBs3pXt0YoY5bhaMGLjvC/WvloppXRw5XwBFLHZF762KVClj WnZM9jiRyoELr4pup+mtGE= Received: from localhost.localdomain (unknown [123.58.221.99]) by smtp5 (Coremail) with SMTP id HdxpCgCnUgt1+ORisGddRQ--.28329S2; Sat, 30 Jul 2022 17:23:03 +0800 (CST) From: studentxswpy@163.com To: andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Xie Shaowen , Hacash Robot Subject: [PATCH v2 net-next] net: dsa: Fix spelling mistakes and cleanup code Date: Sat, 30 Jul 2022 17:22:54 +0800 Message-Id: <20220730092254.3102875-1-studentxswpy@163.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CM-TRANSID: HdxpCgCnUgt1+ORisGddRQ--.28329S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrtr45Zw47XF4UJrWkKryrXrb_yoWktFX_Za 1IvF4rJr17XayvyF4qkF1FyFW09ay8Ar1kuw1YgrZrW3s5ZrW5ua95WrnxC3yUuFWS9Fsx Zr90qasay345GjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IU8D8n5UUUUU== X-Originating-IP: [123.58.221.99] X-CM-SenderInfo: xvwxvv5qw024ls16il2tof0z/1tbiqxhOJFUMe2H8RAAAsi Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Xie Shaowen fix follow spelling misktakes: desconstructed =3D=3D> deconstructed enforcment =3D=3D> enforcement Reported-by: Hacash Robot Signed-off-by: Xie Shaowen --- net/dsa/tag_brcm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/dsa/tag_brcm.c b/net/dsa/tag_brcm.c index 96dbb8ee2fee..16889ea3e0a7 100644 --- a/net/dsa/tag_brcm.c +++ b/net/dsa/tag_brcm.c @@ -34,7 +34,7 @@ /* Newer Broadcom tag (4 bytes) */ #define BRCM_TAG_LEN 4 =20 -/* Tag is constructed and desconstructed using byte by byte access +/* Tag is constructed and deconstructed using byte by byte access * because the tag is placed after the MAC Source Address, which does * not make it 4-bytes aligned, so this might cause unaligned accesses * on most systems where this is used. @@ -103,7 +103,7 @@ static struct sk_buff *brcm_tag_xmit_ll(struct sk_buff = *skb, =20 brcm_tag =3D skb->data + offset; =20 - /* Set the ingress opcode, traffic class, tag enforcment is + /* Set the ingress opcode, traffic class, tag enforcement is * deprecated */ brcm_tag[0] =3D (1 << BRCM_OPCODE_SHIFT) | --=20 2.25.1