Commit 062cf5eb authored by Xie Shaowen's avatar Xie Shaowen Committed by Jakub Kicinski

net: dsa: Fix spelling mistakes and cleanup code

fix follow spelling misktakes:
	desconstructed ==> deconstructed
	enforcment ==> enforcement
Reported-by: default avatarHacash Robot <hacashRobot@santino.com>
Signed-off-by: default avatarXie Shaowen <studentxswpy@163.com>
Link: https://lore.kernel.org/r/20220730092254.3102875-1-studentxswpy@163.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 4ff7c8fc
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
/* Newer Broadcom tag (4 bytes) */ /* Newer Broadcom tag (4 bytes) */
#define BRCM_TAG_LEN 4 #define BRCM_TAG_LEN 4
/* 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 * because the tag is placed after the MAC Source Address, which does
* not make it 4-bytes aligned, so this might cause unaligned accesses * not make it 4-bytes aligned, so this might cause unaligned accesses
* on most systems where this is used. * on most systems where this is used.
...@@ -103,7 +103,7 @@ static struct sk_buff *brcm_tag_xmit_ll(struct sk_buff *skb, ...@@ -103,7 +103,7 @@ static struct sk_buff *brcm_tag_xmit_ll(struct sk_buff *skb,
brcm_tag = skb->data + offset; brcm_tag = skb->data + offset;
/* Set the ingress opcode, traffic class, tag enforcment is /* Set the ingress opcode, traffic class, tag enforcement is
* deprecated * deprecated
*/ */
brcm_tag[0] = (1 << BRCM_OPCODE_SHIFT) | brcm_tag[0] = (1 << BRCM_OPCODE_SHIFT) |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment