Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: sched: fix misspellings using misspell-fixer tool

Some typos are found out by misspell-fixer tool:

$ misspell-fixer -rnv ./net/sched/
./net/sched/act_api.c:686
./net/sched/act_bpf.c:68
./net/sched/cls_rsvp.h:241
./net/sched/em_cmp.c:44
./net/sched/sch_pie.c:408

Fix typos found by misspell-fixer.

Signed-off-by: Menglong Dong <dong.menglong@zte.com.cn>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/r/5fa8e9d4.1c69fb81.5d889.5c64@mx.google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Menglong Dong and committed by
Jakub Kicinski
e5a4b17d 1aa844b9

+5 -5
+1 -1
net/sched/act_api.c
··· 683 683 return res; 684 684 } 685 685 686 - /*TCA_ACT_MAX_PRIO is 32, there count upto 32 */ 686 + /*TCA_ACT_MAX_PRIO is 32, there count up to 32 */ 687 687 #define TCA_ACT_MAX_PRIO_MASK 0x1FF 688 688 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions, 689 689 int nr_actions, struct tcf_result *res)
+1 -1
net/sched/act_bpf.c
··· 65 65 * In case a different well-known TC_ACT opcode has been 66 66 * returned, it will overwrite the default one. 67 67 * 68 - * For everything else that is unkown, TC_ACT_UNSPEC is 68 + * For everything else that is unknown, TC_ACT_UNSPEC is 69 69 * returned. 70 70 */ 71 71 switch (filter_res) {
+1 -1
net/sched/cls_rsvp.h
··· 238 238 } 239 239 } 240 240 241 - /* Something went wrong if we are trying to replace a non-existant 241 + /* Something went wrong if we are trying to replace a non-existent 242 242 * node. Mind as well halt instead of silently failing. 243 243 */ 244 244 BUG_ON(1);
+1 -1
net/sched/em_cmp.c
··· 41 41 break; 42 42 43 43 case TCF_EM_ALIGN_U32: 44 - /* Worth checking boundries? The branching seems 44 + /* Worth checking boundaries? The branching seems 45 45 * to get worse. Visit again. 46 46 */ 47 47 val = get_unaligned_be32(ptr);
+1 -1
net/sched/sch_pie.c
··· 405 405 /* We restart the measurement cycle if the following conditions are met 406 406 * 1. If the delay has been low for 2 consecutive Tupdate periods 407 407 * 2. Calculated drop probability is zero 408 - * 3. If average dq_rate_estimator is enabled, we have atleast one 408 + * 3. If average dq_rate_estimator is enabled, we have at least one 409 409 * estimate for the avg_dq_rate ie., is a non-zero value 410 410 */ 411 411 if ((vars->qdelay < params->target / 2) &&