2020-07-27 14:00:43

by 王文虎

[permalink] [raw]
Subject: [PATCH] sched: fix a typo for sched.h for struct sched_avg

Change the comment typo: "direcly" -> "directly".

Signed-off-by: Wang Wenhu <[email protected]>
---
include/linux/sched.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 4418f5cb8324..aec5d7fb1952 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -377,7 +377,7 @@ struct util_est {
* For cfs_rq, they are the aggregated values of all runnable and blocked
* sched_entities.
*
- * The load/runnable/util_avg doesn't direcly factor frequency scaling and CPU
+ * The load/runnable/util_avg doesn't directly factor frequency scaling and CPU
* capacity scaling. The scaling is done through the rq_clock_pelt that is used
* for computing those signals (see update_rq_clock_pelt())
*
--
2.17.1




2020-07-28 10:51:09

by tip-bot2 for Jacob Pan

[permalink] [raw]
Subject: [tip: sched/core] sched: Fix a typo in a comment

The following commit has been merged into the sched/core branch of tip:

Commit-ID: c1b7b8d42b5422627b0a8268416a60748f8d000f
Gitweb: https://git.kernel.org/tip/c1b7b8d42b5422627b0a8268416a60748f8d000f
Author: 王文虎 <[email protected]>
AuthorDate: Mon, 27 Jul 2020 21:39:51 +08:00
Committer: Ingo Molnar <[email protected]>
CommitterDate: Mon, 27 Jul 2020 23:37:53 +02:00

sched: Fix a typo in a comment

Change the comment typo: "direcly" -> "directly".

Signed-off-by: Wang Wenhu <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/AAcAXwBTDSpsKN-5iyIOtaqk.1.1595857191899.Hmail.wenhu.wang@vivo.com
---
include/linux/sched.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 5033813..adf0125 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -374,7 +374,7 @@ struct util_est {
* For cfs_rq, they are the aggregated values of all runnable and blocked
* sched_entities.
*
- * The load/runnable/util_avg doesn't direcly factor frequency scaling and CPU
+ * The load/runnable/util_avg doesn't directly factor frequency scaling and CPU
* capacity scaling. The scaling is done through the rq_clock_pelt that is used
* for computing those signals (see update_rq_clock_pelt())
*