]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
net: sched: fix misspellings using misspell-fixer tool
authorMenglong Dong <dong.menglong@zte.com.cn>
Mon, 9 Nov 2020 07:02:17 +0000 (02:02 -0500)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Nov 2020 01:00:28 +0000 (17:00 -0800)
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>
net/sched/act_api.c
net/sched/act_bpf.c
net/sched/cls_rsvp.h
net/sched/em_cmp.c
net/sched/sch_pie.c

index 1341c59c2f40be8082fa0fc3f1341c2cf1e9b47e..60e1572ba606ce7cc51daac8498a13385f17b878 100644 (file)
@@ -683,7 +683,7 @@ static struct tc_action_ops *tc_lookup_action(struct nlattr *kind)
        return res;
 }
 
-/*TCA_ACT_MAX_PRIO is 32, there count upto 32 */
+/*TCA_ACT_MAX_PRIO is 32, there count up to 32 */
 #define TCA_ACT_MAX_PRIO_MASK 0x1FF
 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions,
                    int nr_actions, struct tcf_result *res)
index a4c7ba35a3438a1f104bc018b0c9da54e59a780d..e48e980c3b937c9ac5587ef48811273feb1db2c4 100644 (file)
@@ -65,7 +65,7 @@ static int tcf_bpf_act(struct sk_buff *skb, const struct tc_action *act,
         * In case a different well-known TC_ACT opcode has been
         * returned, it will overwrite the default one.
         *
-        * For everything else that is unkown, TC_ACT_UNSPEC is
+        * For everything else that is unknown, TC_ACT_UNSPEC is
         * returned.
         */
        switch (filter_res) {
index d36949d9382c41dda54d12269fe1e8ff9c7e397f..2e288f88ff02b653f6240f3bc0d43c20cb468daf 100644 (file)
@@ -238,7 +238,7 @@ static void rsvp_replace(struct tcf_proto *tp, struct rsvp_filter *n, u32 h)
                }
        }
 
-       /* Something went wrong if we are trying to replace a non-existant
+       /* Something went wrong if we are trying to replace a non-existent
         * node. Mind as well halt instead of silently failing.
         */
        BUG_ON(1);
index a4d09b1fb66ad3d614d7e5cc54f4e16d51b77c7b..f17b049ea53090d750133422f90b3ad673fd6c41 100644 (file)
@@ -41,7 +41,7 @@ static int em_cmp_match(struct sk_buff *skb, struct tcf_ematch *em,
                break;
 
        case TCF_EM_ALIGN_U32:
-               /* Worth checking boundries? The branching seems
+               /* Worth checking boundaries? The branching seems
                 * to get worse. Visit again.
                 */
                val = get_unaligned_be32(ptr);
index c65077f0c0f39832ee97f4e89f25639306b19281..5a457ff61acd8731a8e31ab729c7e127aa6611b5 100644 (file)
@@ -405,7 +405,7 @@ void pie_calculate_probability(struct pie_params *params, struct pie_vars *vars,
        /* We restart the measurement cycle if the following conditions are met
         * 1. If the delay has been low for 2 consecutive Tupdate periods
         * 2. Calculated drop probability is zero
-        * 3. If average dq_rate_estimator is enabled, we have atleast one
+        * 3. If average dq_rate_estimator is enabled, we have at least one
         *    estimate for the avg_dq_rate ie., is a non-zero value
         */
        if ((vars->qdelay < params->target / 2) &&