From b3e48996f1833e48343b87d461a006ede95d55df Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Mon, 10 Jul 2017 19:26:32 +0900 Subject: [PATCH] sched: hmp: fix misleading-indentation build warning This patch fixes following build warning caused by wrong indent: kernel/sched/fair.c: In function 'move_specific_task': kernel/sched/fair.c:9074:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (throttled_lb_pair(task_group(p), env->src_rq->cpu, ^~ kernel/sched/fair.c:9078:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (!hmp_can_migrate_task(p, env)) ^~ Change-Id: Ibaad680588b9b6b7f1ba6fec3ec1422963268d7a Signed-off-by: Seung-Woo Kim --- kernel/sched/fair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index a24e4c2..67f8277 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -9071,9 +9071,9 @@ static int move_specific_task(struct lb_env *env, struct task_struct *pm) struct task_struct *p, *n; list_for_each_entry_safe(p, n, &env->src_rq->cfs_tasks, se.group_node) { - if (throttled_lb_pair(task_group(p), env->src_rq->cpu, + if (throttled_lb_pair(task_group(p), env->src_rq->cpu, env->dst_cpu)) - continue; + continue; if (!hmp_can_migrate_task(p, env)) continue; -- 2.7.4