[PATCH net-next] net: tun: fix misspellings using codespell tool

Subsystems: networking drivers, the rest, tun/tap driver

STALE2036d LANDED

Landed in mainline as c2e315b8c399 on 2021-01-20.

2 messages, 2 authors, 2021-01-20 · open the first message on its own page

[PATCH net-next] net: tun: fix misspellings using codespell tool

From: <hidden>
Date: 2021-01-18 11:28:02

From: Menglong Dong <redacted>

Some typos are found out by codespell tool:

$ codespell -w -i 3 ./drivers/net/tun.c
aovid  ==> avoid

Fix typos found by codespell.

Signed-off-by: Menglong Dong <redacted>
---
 drivers/net/tun.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 702215596889..62690baa19bc 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -2735,7 +2735,7 @@ static int tun_set_iff(struct net *net, struct file *file, struct ifreq *ifr)
 		err = register_netdevice(tun->dev);
 		if (err < 0)
 			goto err_detach;
-		/* free_netdev() won't check refcnt, to aovid race
+		/* free_netdev() won't check refcnt, to avoid race
 		 * with dev_put() we need publish tun after registration.
 		 */
 		rcu_assign_pointer(tfile->tun, tun);
-- 
2.25.1

Re: [PATCH net-next] net: tun: fix misspellings using codespell tool

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-01-20 01:54:07

Hello:

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

On Mon, 18 Jan 2021 03:15:39 -0800 you wrote:
From: Menglong Dong <redacted>

Some typos are found out by codespell tool:

$ codespell -w -i 3 ./drivers/net/tun.c
aovid  ==> avoid

[...]
Here is the summary with links:
  - [net-next] net: tun: fix misspellings using codespell tool
    https://git.kernel.org/netdev/net-next/c/c2e315b8c399

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help