[PATCH] fix typos in net/sched/* files

Taichi Nishimura posted 1 patch 2 years, 10 months ago
net/sched/cls_flower.c | 2 +-
net/sched/em_meta.c    | 2 +-
net/sched/sch_pie.c    | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
[PATCH] fix typos in net/sched/* files
Posted by Taichi Nishimura 2 years, 10 months ago
This patch fixes typos in net/sched/* files.

Signed-off-by: Taichi Nishimura <awkrail01@gmail.com>
---
 net/sched/cls_flower.c | 2 +-
 net/sched/em_meta.c    | 2 +-
 net/sched/sch_pie.c    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net/sched/cls_flower.c b/net/sched/cls_flower.c
index 475fe222a855..cc49256d5318 100644
--- a/net/sched/cls_flower.c
+++ b/net/sched/cls_flower.c
@@ -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);
diff --git a/net/sched/em_meta.c b/net/sched/em_meta.c
index 49bae3d5006b..af85a73c4c54 100644
--- a/net/sched/em_meta.c
+++ b/net/sched/em_meta.c
@@ -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
diff --git a/net/sched/sch_pie.c b/net/sched/sch_pie.c
index 265c238047a4..2152a56d73f8 100644
--- a/net/sched/sch_pie.c
+++ b/net/sched/sch_pie.c
@@ -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;
-- 
2.37.3
Re: [PATCH] fix typos in net/sched/* files
Posted by patchwork-bot+netdevbpf@kernel.org 2 years, 10 months ago
Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Thu, 23 Mar 2023 14:27:13 +0900 you wrote:
> This patch fixes typos in net/sched/* files.
> 
> Signed-off-by: Taichi Nishimura <awkrail01@gmail.com>
> ---
>  net/sched/cls_flower.c | 2 +-
>  net/sched/em_meta.c    | 2 +-
>  net/sched/sch_pie.c    | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Here is the summary with links:
  - fix typos in net/sched/* files
    https://git.kernel.org/netdev/net-next/c/4170f0ef582c

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Re: [PATCH] fix typos in net/sched/* files
Posted by Randy Dunlap 2 years, 10 months ago

On 3/22/23 22:27, Taichi Nishimura wrote:
> This patch fixes typos in net/sched/* files.
> 
> Signed-off-by: Taichi Nishimura <awkrail01@gmail.com>


Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.

> ---
>  net/sched/cls_flower.c | 2 +-
>  net/sched/em_meta.c    | 2 +-
>  net/sched/sch_pie.c    | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)


-- 
~Randy