summaryrefslogtreecommitdiff
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorMenglong Dong <dong.menglong@zte.com.cn>2021-01-18 03:15:39 -0800
committerJakub Kicinski <kuba@kernel.org>2021-01-19 17:43:56 -0800
commitc2e315b8c399cf364b740368561d9d8f3f354402 (patch)
tree7776b44edcdbaccb7303811b72e2e0b925da109c /drivers/net/tun.c
parent0deee7aa23a5be51f3b3572572f55d9c92f4cf4a (diff)
downloadlwn-c2e315b8c399cf364b740368561d9d8f3f354402.tar.gz
lwn-c2e315b8c399cf364b740368561d9d8f3f354402.zip
net: tun: fix misspellings using codespell tool
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>
Diffstat (limited to 'drivers/net/tun.c')
-rw-r--r--drivers/net/tun.c2
1 files changed, 1 insertions, 1 deletions
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);