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 <sw0312.kim@samsung.com>
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;