Skip to content

Commit

Permalink
net: sched: Fix spelling mistakes
Browse files Browse the repository at this point in the history
Fix some spelling mistakes in comments:
sevaral  ==> several
sugestion  ==> suggestion
unregster  ==> unregister
suplied  ==> supplied
cirsumstances  ==> circumstances

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Link: https://lore.kernel.org/r/20210531020048.2920054-1-zhengyongjun3@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Zheng Yongjun authored and Jakub Kicinski committed Jun 1, 2021
1 parent 01709d0 commit 37f2ad2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion net/sched/cls_rsvp.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

/*
Comparing to general packet classification problem,
RSVP needs only sevaral relatively simple rules:
RSVP needs only several relatively simple rules:
* (dst, protocol) are always specified,
so that we are able to hash them.
Expand Down
2 changes: 1 addition & 1 deletion net/sched/ematch.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ int tcf_em_register(struct tcf_ematch_ops *ops)
EXPORT_SYMBOL(tcf_em_register);

/**
* tcf_em_unregister - unregster and extended match
* tcf_em_unregister - unregister and extended match
*
* @ops: ematch operations lookup table
*
Expand Down
2 changes: 1 addition & 1 deletion net/sched/sch_gred.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* 991129: - Bug fix with grio mode
* - a better sing. AvgQ mode with Grio(WRED)
* - A finer grained VQ dequeue based on sugestion
* - A finer grained VQ dequeue based on suggestion
* from Ren Liu
* - More error checks
*
Expand Down
4 changes: 2 additions & 2 deletions net/sched/sch_htb.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
*/

static int htb_hysteresis __read_mostly = 0; /* whether to use mode hysteresis for speedup */
#define HTB_VER 0x30011 /* major must be matched with number suplied by TC as version */
#define HTB_VER 0x30011 /* major must be matched with number supplied by TC as version */

#if HTB_VER >> 16 != TC_HTB_PROTOVER
#error "Mismatched sch_htb.c and pkt_sch.h"
Expand Down Expand Up @@ -523,7 +523,7 @@ htb_class_mode(struct htb_class *cl, s64 *diff)
* htb_change_class_mode - changes classe's mode
*
* This should be the only way how to change classe's mode under normal
* cirsumstances. Routine will update feed lists linkage, change mode
* circumstances. Routine will update feed lists linkage, change mode
* and add class to the wait event queue if appropriate. New mode should
* be different from old one and cl->pq_key has to be valid if changing
* to mode other than HTB_CAN_SEND (see htb_add_to_wait_tree).
Expand Down

0 comments on commit 37f2ad2

Please sign in to comment.