[PATCH -next 0/5]Fix some typos
STALE1989d
Revision v1 of 2 in this series.
8 messages,
3 authors,
2021-03-26 · open the first message on its own page
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(-)
--
2.17.1
Modify "inital" to "initial" in net/ceph/osdmap.c.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Lu Wei <redacted>
---
net/ceph/osdmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ceph/osdmap.c b/net/ceph/osdmap.c
index 2b1dd252f231..c959320c4775 100644
--- a/net/ceph/osdmap.c
+++ b/net/ceph/osdmap.c @@ -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 ); --
2.17.1
Modify "accomodate" to "accommodate" in net/ipv4/esp4.c.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Lu Wei <redacted>
---
net/ipv4/esp4.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/ipv4/esp4.c b/net/ipv4/esp4.c
index a3271ec3e162..1ae920b93f39 100644
--- a/net/ipv4/esp4.c
+++ b/net/ipv4/esp4.c @@ -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 )) { --
2.17.1
Modify "erronous" to "erroneous" in net/decnet/dn_nsp_in.c.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Lu Wei <redacted>
---
net/decnet/dn_nsp_in.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/decnet/dn_nsp_in.c b/net/decnet/dn_nsp_in.c
index c97bdca5ec30..1a12912b88d6 100644
--- a/net/decnet/dn_nsp_in.c
+++ b/net/decnet/dn_nsp_in.c @@ -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 .
*/ --
2.17.1
Modify "Apparantly" to "Apparently" in net/dsa/tag_rtl4_a.c..
Reported-by: Hulk Robot <redacted>
Signed-off-by: Lu Wei <redacted>
---
net/dsa/tag_rtl4_a.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/dsa/tag_rtl4_a.c b/net/dsa/tag_rtl4_a.c
index e9176475bac8..cf8ac316f4c7 100644
--- a/net/dsa/tag_rtl4_a.c
+++ b/net/dsa/tag_rtl4_a.c @@ -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 ; --
2.17.1
Modify "funciton" to "function" in net/core/dev_addr_lists.c.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Lu Wei <redacted>
---
net/core/dev_addr_lists.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/core/dev_addr_lists.c b/net/core/dev_addr_lists.c
index fa1c37ec40c9..1e5bde241185 100644
--- a/net/core/dev_addr_lists.c
+++ b/net/core/dev_addr_lists.c @@ -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 --
2.17.1
On Thu, Mar 25, 2021 at 7:37 AM Lu Wei [off-list ref] wrote: quoted hunk
Modify "inital" to "initial" in net/ceph/osdmap.c.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Lu Wei <redacted>
---
net/ceph/osdmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/ceph/osdmap.c b/net/ceph/osdmap.c
index 2b1dd252f231..c959320c4775 100644
--- a/net/ceph/osdmap.c
+++ b/net/ceph/osdmap.c @@ -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 );
- - 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
Hello:
This series was applied to netdev/net-next.git (refs/heads/master):
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