Skip to contentSkip to conversation

Fix some typos

PATCH Applied Lu Wei 3 participants 8 messages Mar 25, 2021 – Mar 26, 2021

Subsystems (5)
lore
Share & tools
lore

Lu Wei

author
#0 lore raw

cover Fix some typos

Lu Wei (5):
net: ceph: Fix a typo in osdmap.c
net: core: Fix a typo in dev_addr_lists.c
net: decnet: Fix a typo in dn_nsp_in.c
net: dsa: Fix a typo in tag_rtl4_a.c
net: ipv4: Fix some typos

 net/ceph/osdmap.c         | 2 +-
 net/core/dev_addr_lists.c | 2 +-
 net/decnet/dn_nsp_in.c    | 2 +-
 net/dsa/tag_rtl4_a.c      | 2 +-
 net/ipv4/esp4.c           | 4 ++--
 5 files changed, 6 insertions(+), 6 deletions(-)
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 1/5 net: ceph: Fix a typo in osdmap.c

Modify "inital" to "initial" in net/ceph/osdmap.c.

---
 net/ceph/osdmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ceph/osdmap.c +1 -1
index 2b1dd252f231..c959320c4775 100644
@@ -1069,7 +1069,7 @@ static struct crush_work *get_workspace(struct workspace_manager *wsm,
 
 		/*
 		 * Do not return the error but go back to waiting.  We
-		 * have the inital workspace and the CRUSH computation
+		 * have the initial workspace and the CRUSH computation
 		 * time is bounded so we will get it eventually.
 		 */
 		WARN_ON(atomic_read(&wsm->total_ws) < 1);
Signature · 1 line
2.17.1
maintainer
#2 lore raw

Re: [PATCH -next 1/5] net: ceph: Fix a typo in osdmap.c

Quoted 23 lines · Lu Wei

Modify "inital" to "initial" in net/ceph/osdmap.c.

---
 net/ceph/osdmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ceph/osdmap.c +1 -2
index 2b1dd252f231..c959320c4775 100644
@@ -1069,7 +1069,7 @@ static struct crush_work *get_workspace(struct workspace_manager *wsm,
 
                /*
                 * Do not return the error but go back to waiting.  We
-                * have the inital workspace and the CRUSH computation
+                * have the initial workspace and the CRUSH computation
                 * time is bounded so we will get it eventually.
                 */
                WARN_ON(atomic_read(&wsm->total_ws) < 1);
--
Quoted 2 lines

2.17.1

Hi Lu,

There is at least one other legit typo in that file: "ambigous". I'd rather fix all typos at once, so curious why Hulk Robot didn't catch it.

Thanks,

Ilya

author
#3 lore raw

PATCH 2/5 net: core: Fix a typo in dev_addr_lists.c

In reply to Lu Wei

Modify "funciton" to "function" in net/core/dev_addr_lists.c.

---
 net/core/dev_addr_lists.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/core/dev_addr_lists.c +1 -1
index fa1c37ec40c9..1e5bde241185 100644
@@ -228,7 +228,7 @@ EXPORT_SYMBOL(__hw_addr_unsync);
  *  @sync: function to call if address should be added
  *  @unsync: function to call if address should be removed
  *
- *  This funciton is intended to be called from the ndo_set_rx_mode
+ *  This function is intended to be called from the ndo_set_rx_mode
  *  function of devices that require explicit address add/remove
  *  notifications.  The unsync function may be NULL in which case
  *  the addresses requiring removal will simply be removed without
Signature · 1 line
2.17.1
author
#4 lore raw

PATCH 3/5 net: decnet: Fix a typo in dn_nsp_in.c

In reply to Lu Wei

Modify "erronous" to "erroneous" in net/decnet/dn_nsp_in.c.

---
 net/decnet/dn_nsp_in.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/decnet/dn_nsp_in.c +1 -1
index c97bdca5ec30..1a12912b88d6 100644
@@ -520,7 +520,7 @@ static void dn_nsp_linkservice(struct sock *sk, struct sk_buff *skb)
 	fcval = *ptr;
 
 	/*
-	 * Here we ignore erronous packets which should really
+	 * Here we ignore erroneous packets which should really
 	 * should cause a connection abort. It is not critical
 	 * for now though.
 	 */
Signature · 1 line
2.17.1
author
#5 lore raw

PATCH 4/5 net: dsa: Fix a typo in tag_rtl4_a.c

In reply to Lu Wei

Modify "Apparantly" to "Apparently" in net/dsa/tag_rtl4_a.c..

---
 net/dsa/tag_rtl4_a.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/dsa/tag_rtl4_a.c +1 -1
index e9176475bac8..cf8ac316f4c7 100644
@@ -79,7 +79,7 @@ static struct sk_buff *rtl4a_tag_rcv(struct sk_buff *skb,
 
 	/* The RTL4 header has its own custom Ethertype 0x8899 and that
 	 * starts right at the beginning of the packet, after the src
-	 * ethernet addr. Apparantly skb->data always points 2 bytes in,
+	 * ethernet addr. Apparently skb->data always points 2 bytes in,
 	 * behind the Ethertype.
 	 */
 	tag = skb->data - 2;
Signature · 1 line
2.17.1
author
#6 lore raw

PATCH 5/5 net: ipv4: Fix some typos

In reply to Lu Wei

Modify "accomodate" to "accommodate" in net/ipv4/esp4.c.

---
 net/ipv4/esp4.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/ipv4/esp4.c +2 -2
index a3271ec3e162..1ae920b93f39 100644
@@ -309,7 +309,7 @@ static struct ip_esp_hdr *esp_output_set_extra(struct sk_buff *skb,
 					       struct esp_output_extra *extra)
 {
 	/* For ESN we move the header forward by 4 bytes to
-	 * accomodate the high bits.  We will move it back after
+	 * accommodate the high bits.  We will move it back after
 	 * encryption.
 	 */
 	if ((x->props.flags & XFRM_STATE_ESN)) {
@@ -854,7 +854,7 @@ static void esp_input_set_header(struct sk_buff *skb, __be32 *seqhi)
 	struct ip_esp_hdr *esph;
 
 	/* For ESN we move the header forward by 4 bytes to
-	 * accomodate the high bits.  We will move it back after
+	 * accommodate the high bits.  We will move it back after
 	 * decryption.
 	 */
 	if ((x->props.flags & XFRM_STATE_ESN)) {
Signature · 1 line
2.17.1
#7 lore raw
In reply to Lu Wei
This series was applied to netdev/net-next.git (refs/heads/master):

Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

Quoted 8 lines · On Thu, 25 Mar 2021 14:38:20 +0800 you wrote:

Lu Wei (5):
net: ceph: Fix a typo in osdmap.c
net: core: Fix a typo in dev_addr_lists.c
net: decnet: Fix a typo in dn_nsp_in.c
net: dsa: Fix a typo in tag_rtl4_a.c
net: ipv4: Fix some typos

[...]

Here is the summary with links:
- [-next,1/5] net: ceph: Fix a typo in osdmap.c

    https://git.kernel.org/netdev/net-next/c/3f9143f10c3d
  - [-next,2/5] net: core: Fix a typo in dev_addr_lists.c
    https://git.kernel.org/netdev/net-next/c/897b9fae7a8a
  - [-next,3/5] net: decnet: Fix a typo in dn_nsp_in.c
    https://git.kernel.org/netdev/net-next/c/e51443d54b4e
  - [-next,4/5] net: dsa: Fix a typo in tag_rtl4_a.c
    https://git.kernel.org/netdev/net-next/c/952a67f6f6a8
  - [-next,5/5] net: ipv4: Fix some typos
    https://git.kernel.org/netdev/net-next/c/cbd801b3b071

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html