decnet: Fix spelling mistakes
authorZheng Yongjun <zhengyongjun3@huawei.com>
Wed, 2 Jun 2021 06:55:44 +0000 (14:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jun 2021 21:01:55 +0000 (14:01 -0700)
Fix some spelling mistakes in comments:
thats  ==> that's
serivce  ==> service
varience  ==> variance

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/dn_nsp_in.c
net/decnet/dn_nsp_out.c
net/decnet/dn_route.c

index 1a12912..7ab788f 100644 (file)
@@ -870,7 +870,7 @@ int dn_nsp_backlog_rcv(struct sock *sk, struct sk_buff *skb)
 
                /*
                 * Read out ack data here, this applies equally
-                * to data, other data, link serivce and both
+                * to data, other data, link service and both
                 * ack data and ack otherdata.
                 */
                dn_process_ack(sk, skb, other);
index 00f2ed7..eadc895 100644 (file)
@@ -179,7 +179,7 @@ static void dn_nsp_rtt(struct sock *sk, long rtt)
                scp->nsp_srtt = 1;
 
        /*
-        * Add new rtt varience to smoothed varience
+        * Add new rtt variance to smoothed varience
         */
        delta >>= 1;
        rttvar += ((((delta>0)?(delta):(-delta)) - rttvar) >> 2);
index 32b1bed..729d3de 100644 (file)
@@ -604,7 +604,7 @@ drop_it:
 static int dn_route_discard(struct net *net, struct sock *sk, struct sk_buff *skb)
 {
        /*
-        * I know we drop the packet here, but thats considered success in
+        * I know we drop the packet here, but that's considered success in
         * this case
         */
        kfree_skb(skb);