projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0deee7a
)
net: tun: fix misspellings using codespell tool
author
Menglong Dong
<dong.menglong@zte.com.cn>
Mon, 18 Jan 2021 11:15:39 +0000
(
03:15
-0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Wed, 20 Jan 2021 01:43:56 +0000
(17:43 -0800)
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 <dong.menglong@zte.com.cn>
Link:
https://lore.kernel.org/r/20210118111539.35886-1-dong.menglong@zte.com.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/tun.c
patch
|
blob
|
history
diff --git
a/drivers/net/tun.c
b/drivers/net/tun.c
index 702215596889b381305a7e1711f14e0954078a20..62690baa19bc8c4bf52f8b18a092f570e2125fc8 100644
(file)
--- 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 a
ov
id race
+ /* free_netdev() won't check refcnt, to a
vo
id race
* with dev_put() we need publish tun after registration.
*/
rcu_assign_pointer(tfile->tun, tun);