aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_htb.c
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2021-05-31 10:00:48 +0800
committerJakub Kicinski <kuba@kernel.org>2021-05-31 22:44:56 -0700
commit37f2ad2b9018c5e23455536e5c240cac1334f20a (patch)
tree464353115fd6fc56fcf066de83de3b98acbc1b0d /net/sched/sch_htb.c
parentnfc: hci: Fix spelling mistakes (diff)
downloadlinux-dev-37f2ad2b9018c5e23455536e5c240cac1334f20a.tar.xz
linux-dev-37f2ad2b9018c5e23455536e5c240cac1334f20a.zip
net: sched: Fix spelling mistakes
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>
Diffstat (limited to 'net/sched/sch_htb.c')
-rw-r--r--net/sched/sch_htb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c
index 081c11d5717c..282614614905 100644
--- a/net/sched/sch_htb.c
+++ b/net/sched/sch_htb.c
@@ -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"
@@ -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).