Re: [PATCH] sched/fair: make function static to avoid compile warnings

2018-06-05 Thread Peter Zijlstra
On Tue, Jun 05, 2018 at 01:46:59PM +, yang wrote: > Fix compile warnings: > CC kernel/sched/fair.o > kernel/sched/fair.c:2461:6: warning: no previous prototype for > ‘task_numa_work’ [-Wmissing-prototypes] > void task_numa_work(struct callback_head *work) > ^ >

Re: [PATCH] sched/fair: make function static to avoid compile warnings

2018-06-05 Thread Peter Zijlstra
On Tue, Jun 05, 2018 at 01:46:59PM +, yang wrote: > Fix compile warnings: > CC kernel/sched/fair.o > kernel/sched/fair.c:2461:6: warning: no previous prototype for > ‘task_numa_work’ [-Wmissing-prototypes] > void task_numa_work(struct callback_head *work) > ^ >