Skip to content

Commit

Permalink
decnet: Fix spelling mistakes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Zheng Yongjun authored and David S. Miller committed Jun 2, 2021
1 parent fe6c026 commit 5debe0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion net/decnet/dn_nsp_in.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion net/decnet/dn_nsp_out.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion net/decnet/dn_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ static int dn_route_rx_short(struct sk_buff *skb)
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);
Expand Down

0 comments on commit 5debe0b

Please sign in to comment.