[PATCH] sched/deadline: Fix typo in a comment

2016-11-08 Thread Daniel Bristot de Oliveira
In the comment:
/*
 * The task might have changed its scheduling policy to something
 * different than SCHED_DEADLINE (through switched_fromd_dl()).
 */

s/switched_fromd_dl/switched_from_dl/

Signed-off-by: Daniel Bristot de Oliveira 
Cc: Ingo Molnar 
Cc: Peter Zijlstra 
Cc: Juri Lelli 
Cc: Luca Abeni 
Cc: linux-kernel@vger.kernel.org


diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index 37e2449..c61b461 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -586,7 +586,7 @@ static enum hrtimer_restart dl_task_timer(struct hrtimer 
*timer)
 
/*
 * The task might have changed its scheduling policy to something
-* different than SCHED_DEADLINE (through switched_fromd_dl()).
+* different than SCHED_DEADLINE (through switched_from_dl()).
 */
if (!dl_task(p)) {
__dl_clear_params(p);
-- 
2.7.4



[PATCH] sched/deadline: fix typo

2015-10-23 Thread Vincent Guittot
Fix a typo in the code comment.

Signed-off-by: Vincent Guittot 
---
 kernel/sched/deadline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c
index 142df26..0688a20 100644
--- a/kernel/sched/deadline.c
+++ b/kernel/sched/deadline.c
@@ -591,7 +591,7 @@ static enum hrtimer_restart dl_task_timer(struct hrtimer 
*timer)
 
/*
 * The task might have changed its scheduling policy to something
-* different than SCHED_DEADLINE (through switched_fromd_dl()).
+* different than SCHED_DEADLINE (through switched_from_dl()).
 */
if (!dl_task(p)) {
__dl_clear_params(p);
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/