Skip to contentSkip to conversation

Fix misspelling of "accept*" in net

PATCH Applied Alexander Zubkov 3 participants 3 messages Oct 8, 2024 – Oct 10, 2024

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

PATCH 1/1 Fix misspelling of "accept*" in net

Several files have "accept*" misspelled as "accpet*" in the comments. Fix all such occurrences.

---
 drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c | 4 ++--
 drivers/net/ethernet/natsemi/ns83820.c                        | 2 +-
 include/uapi/linux/udp.h                                      | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c +2 -2
index 455a54708be4..96fd31d75dfd 100644
@@ -342,8 +342,8 @@ static struct sk_buff *copy_gl_to_skb_pkt(const struct pkt_gl *gl,
 {
 	struct sk_buff *skb;
 
-	/* Allocate space for cpl_pass_accpet_req which will be synthesized by
-	 * driver. Once driver synthesizes cpl_pass_accpet_req the skb will go
+	/* Allocate space for cpl_pass_accept_req which will be synthesized by
+	 * driver. Once driver synthesizes cpl_pass_accept_req the skb will go
 	 * through the regular cpl_pass_accept_req processing in TOM.
 	 */
 	skb = alloc_skb(gl->tot_len + sizeof(struct cpl_pass_accept_req)
drivers/net/ethernet/natsemi/ns83820.c +1 -1
index 998586872599..bea969dfa536 100644
@@ -2090,7 +2090,7 @@ static int ns83820_init_one(struct pci_dev *pci_dev,
 	 */
 	/* Ramit : 1024 DMA is not a good idea, it ends up banging
 	 * some DELL and COMPAQ SMP systems
-	 * Turn on ALP, only we are accpeting Jumbo Packets */
+	 * Turn on ALP, only we are accepting Jumbo Packets */
 	writel(RXCFG_AEP | RXCFG_ARP | RXCFG_AIRL | RXCFG_RX_FD
 		| RXCFG_STRIPCRC
 		//| RXCFG_ALP
include/uapi/linux/udp.h +1 -1
index 1a0fe8b151fb..d85d671deed3 100644
@@ -31,7 +31,7 @@ struct udphdr {
 #define UDP_CORK	1	/* Never send partially complete segments */
 #define UDP_ENCAP	100	/* Set the socket to accept encapsulated packets */
 #define UDP_NO_CHECK6_TX 101	/* Disable sending checksum for UDP6X */
-#define UDP_NO_CHECK6_RX 102	/* Disable accpeting checksum for UDP6 */
+#define UDP_NO_CHECK6_RX 102	/* Disable accepting checksum for UDP6 */
 #define UDP_SEGMENT	103	/* Set GSO segmentation size */
 #define UDP_GRO		104	/* This socket can receive UDP GRO packets */
 
Signature · 1 line
2.46.0
#2 lore raw
In reply to Alexander Zubkov
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

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

Quoted 9 lines · On Tue, 8 Oct 2024 18:27:57 +0200 you wrote:

Several files have "accept*" misspelled as "accpet*" in the comments. Fix all such occurrences.

---
 drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c | 4 ++--
 drivers/net/ethernet/natsemi/ns83820.c                        | 2 +-
 include/uapi/linux/udp.h                                      | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

Here is the summary with links:
- [net-next] Fix misspelling of "accept*" in net

    https://git.kernel.org/netdev/net-next/c/80c549cd1ab0

You are awesome, thank you!

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