This build warning:
kernel/sched/fair.c:1015:1: warning: no return statement in function returning non-void
Triggers because the dummy account_numa_enqueue() should return the
rq's task list.
It's not possible to trigger this bug runtime, nevertheless fix the
warning.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
#else
static struct list_head *account_numa_enqueue(struct rq *rq, struct task_struct *p)
{
+ return NULL;
}
static void account_numa_dequeue(struct rq *rq, struct task_struct *p)