Commit 37f2ad2b authored by Zheng Yongjun's avatar Zheng Yongjun Committed by Jakub Kicinski

net: sched: Fix spelling mistakes

Fix some spelling mistakes in comments:
sevaral  ==> several
sugestion  ==> suggestion
unregster  ==> unregister
suplied  ==> supplied
cirsumstances  ==> circumstances
Signed-off-by: default avatarZheng Yongjun <zhengyongjun3@huawei.com>
Link: https://lore.kernel.org/r/20210531020048.2920054-1-zhengyongjun3@huawei.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 01709d09
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
/* /*
Comparing to general packet classification problem, 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, * (dst, protocol) are always specified,
so that we are able to hash them. so that we are able to hash them.
......
...@@ -141,7 +141,7 @@ int tcf_em_register(struct tcf_ematch_ops *ops) ...@@ -141,7 +141,7 @@ int tcf_em_register(struct tcf_ematch_ops *ops)
EXPORT_SYMBOL(tcf_em_register); EXPORT_SYMBOL(tcf_em_register);
/** /**
* tcf_em_unregister - unregster and extended match * tcf_em_unregister - unregister and extended match
* *
* @ops: ematch operations lookup table * @ops: ematch operations lookup table
* *
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* 991129: - Bug fix with grio mode * 991129: - Bug fix with grio mode
* - a better sing. AvgQ mode with Grio(WRED) * - 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 * from Ren Liu
* - More error checks * - More error checks
* *
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
*/ */
static int htb_hysteresis __read_mostly = 0; /* whether to use mode hysteresis for speedup */ 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 #if HTB_VER >> 16 != TC_HTB_PROTOVER
#error "Mismatched sch_htb.c and pkt_sch.h" #error "Mismatched sch_htb.c and pkt_sch.h"
...@@ -523,7 +523,7 @@ htb_class_mode(struct htb_class *cl, s64 *diff) ...@@ -523,7 +523,7 @@ htb_class_mode(struct htb_class *cl, s64 *diff)
* htb_change_class_mode - changes classe's mode * htb_change_class_mode - changes classe's mode
* *
* This should be the only way how to change classe's mode under normal * 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 * 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 * 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). * to mode other than HTB_CAN_SEND (see htb_add_to_wait_tree).
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment