From: Seung-Woo Kim Date: Mon, 10 Jul 2017 10:26:32 +0000 (+0900) Subject: sched: hmp: fix misleading-indentation build warning X-Git-Tag: submit/tizen/20170711.010212~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b3e48996f1833e48343b87d461a006ede95d55df;p=platform%2Fkernel%2Flinux-exynos.git 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 --- diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index a24e4c258570..67f8277760ff 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;