fix typos in net/sched/* files
authorTaichi Nishimura <awkrail01@gmail.com>
Thu, 23 Mar 2023 05:27:13 +0000 (14:27 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Mar 2023 09:05:03 +0000 (09:05 +0000)
This patch fixes typos in net/sched/* files.

Signed-off-by: Taichi Nishimura <awkrail01@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_flower.c
net/sched/em_meta.c
net/sched/sch_pie.c

index 475fe222a85566639bac75fc4a95bf649a10357d..cc49256d5318167af49221c11bb275f08e1aeff8 100644 (file)
@@ -1057,7 +1057,7 @@ static void fl_set_key_pppoe(struct nlattr **tb,
         * because ETH_P_PPP_SES was stored in basic.n_proto
         * which might get overwritten by ppp_proto
         * or might be set to 0, the role of key_val::type
-        * is simmilar to vlan_key::tpid
+        * is similar to vlan_key::tpid
         */
        key_val->type = htons(ETH_P_PPP_SES);
        key_mask->type = cpu_to_be16(~0);
index 49bae3d5006b0f83330b4cbe30344c0741743575..af85a73c4c5458ec9b018e5f43f420a3b2079917 100644 (file)
@@ -44,7 +44,7 @@
  *     be provided for non-numeric types.
  *
  *     Additionally, type dependent modifiers such as shift operators
- *     or mask may be applied to extend the functionaliy. As of now,
+ *     or mask may be applied to extend the functionality. As of now,
  *     the variable length type supports shifting the byte string to
  *     the right, eating up any number of octets and thus supporting
  *     wildcard interface name comparisons such as "ppp%" matching
index 265c238047a42f47ca18d976873857e20bebcf30..2152a56d73f86eddc432a47c0cf6383c59ab2d43 100644 (file)
@@ -319,7 +319,7 @@ void pie_calculate_probability(struct pie_params *params, struct pie_vars *vars,
        }
 
        /* If qdelay is zero and backlog is not, it means backlog is very small,
-        * so we do not update probabilty in this round.
+        * so we do not update probability in this round.
         */
        if (qdelay == 0 && backlog != 0)
                update_prob = false;