[PATCH] sched_ext: fix typo in set_weight() description

Andrea Righi posted 1 patch 1 year, 5 months ago
kernel/sched/ext.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] sched_ext: fix typo in set_weight() description
Posted by Andrea Righi 1 year, 5 months ago
Correct eight to weight in the description of the .set_weight()
operation in sched_ext_ops.

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
---
 kernel/sched/ext.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/ext.c b/kernel/sched/ext.c
index 8e8b44f2c74a..f6e25545bfc0 100644
--- a/kernel/sched/ext.c
+++ b/kernel/sched/ext.c
@@ -369,7 +369,7 @@ struct sched_ext_ops {
 	/**
 	 * set_weight - Set task weight
 	 * @p: task to set weight for
-	 * @weight: new eight [1..10000]
+	 * @weight: new weight [1..10000]
 	 *
 	 * Update @p's weight to @weight.
 	 */
-- 
2.43.0
Re: [PATCH] sched_ext: fix typo in set_weight() description
Posted by Tejun Heo 1 year, 5 months ago
On Thu, Jun 27, 2024 at 08:50:09PM +0200, Andrea Righi wrote:
> Correct eight to weight in the description of the .set_weight()
> operation in sched_ext_ops.
> 
> Signed-off-by: Andrea Righi <andrea.righi@canonical.com>

Applied to sched_ext/for-6.11.

Thanks.

-- 
tejun