Skip to contentSkip to conversation

net: dsa: Fix spelling mistakes and cleanup code

PATCH Applied [email protected] 2 participants 2 messages Jul 30, 2022 – Aug 1, 2022

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 net: dsa: Fix spelling mistakes and cleanup code

From: Xie Shaowen <[email protected]>

fix follow spelling misktakes:

	desconstructed ==> deconstructed
	enforcment ==> enforcement
---
 net/dsa/tag_brcm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/dsa/tag_brcm.c +2 -2
index 96dbb8ee2fee..16889ea3e0a7 100644
@@ -34,7 +34,7 @@
 /* Newer Broadcom tag (4 bytes) */
 #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
  * 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,
 
 	brcm_tag = skb->data + offset;
 
-	/* Set the ingress opcode, traffic class, tag enforcment is
+	/* Set the ingress opcode, traffic class, tag enforcement is
 	 * deprecated
 	 */
 	brcm_tag[0] = (1 << BRCM_OPCODE_SHIFT) |
Signature · 1 line
2.25.1
#1 lore raw
This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <[email protected]>:

Quoted 10 lines · On Sat, 30 Jul 2022 17:22:54 +0800 you wrote:

From: Xie Shaowen <[email protected]>

fix follow spelling misktakes:

	desconstructed ==> deconstructed
	enforcment ==> enforcement

[...]

Here is the summary with links:
- [v2,net-next] net: dsa: Fix spelling mistakes and cleanup code

    https://git.kernel.org/netdev/net-next/c/062cf5ebc2e8

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html